- Structures, Unions, Enums - General Questions
- Structures, Unions, Enums - Find Output of Program
- Structures, Unions, Enums - Point Out Errors
- Structures, Unions, Enums - Point Out Correct Statements
- Structures, Unions, Enums - True / False Questions
- Structures, Unions, Enums - Yes / No Questions


Structures, Unions, Enums - Programming
Q1: Point out the error in the program?
struct emp
{
int ecode;
struct emp e;
};
A Error: in structure declaration
B Linker Error
C No Error
D None of above
ANS:A - Error: in structure declaration The structure emp contains a member e of the same type.(i.e) struct emp. At this stage compiler does not know the size of sttructure. |


For help Students Orientation
Mcqs Questions
One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.