MCQs
No answer description available for this question.
At run time it will show an error then program will be terminated.
Sample output: Turbo C (Windows)
c:`setminus`>myprogram
Sample
12.123
scanf : floating point formats not linked
Abnormal program termination
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.
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.
Bit field type must be signed int or unsigned int.
The char type: char scheme:4; is also a valid statement.
Here the type name mystruct is known at the point of declaring the structure,
as it is already defined.
No answer description available for this question.
Because ++ or -- cannot be done on enum value.
No answer description available for this question.
This type of declaration is called as self-referential structure.
Here *e is pointer to a struct emp.