Structures, Unions, Enums - Yes / No Questions Online Exam Quiz
Structures, Unions, Enums - Yes / No Questions GK Quiz. Question and Answers related to Structures, Unions, Enums - Yes / No Questions. MCQ (Multiple Choice Questions with answers about Structures, Unions, Enums - Yes / No Questions
If the following structure is written to a file using fwrite() , can fread() read it back successfully?
Options
A : Yes
B : No
C : -
D : -
size of union is size of the longest element in the union
Options
A : Yes
B : No
C : -
D : -
The elements of union are always accessed using & operator
Options
A : Yes
B : No
C : -
D : -
Will the following code work?
Options
A : Yes
B : No
C : -
D : -
A pointer union CANNOT be created
Options
A : Yes
B : No
C : -
D : -
Is there easy way to print enumeration values symbolically?
Options
A : Yes
B : No
C : -
D : -
By default structure variable will be of auto storage class
Options
A : Yes
B : No
C : -
D : -
Is it necessary that the size of all elements in a union should be same?
Options
A : Yes
B : No
C : -
D : -
Can we have an array of bit fields?
Options
A : Yes
B : No
C : -
D : -
Will the following declaration work?
Options
A : Yes
B : No
C : -
D : -