Discussion :: Structures, Unions, Enums
-
Point out the error in the program?
#include
A.
Error: in structure |
B.
Error: in prototype declaration unknown struct emp |
C.
No error |
D.
None of above |
Answer : Option B
Explanation :
The struct emp is mentioned in the prototype of the function modify() before declaring the structure.To solve this problem declare struct emp before the modify() prototype.
Be The First To Comment