Structures, Unions, Enums - True / False Questions Online Exam Quiz
Structures, Unions, Enums - True / False Questions GK Quiz. Question and Answers related to Structures, Unions, Enums - True / False Questions. MCQ (Multiple Choice Questions with answers about Structures, Unions, Enums - True / False Questions
A union cannot be nested in a structure
Options
A : True
B : False
C : -
D : -
Nested unions are allowed
Options
A : True
B : False
C : -
D : -
Bit fields CANNOT be used in union.
Options
A : True
B : False
C : -
D : -
one of elements of a structure can be a pointer to the same structure.
Options
A : True
B : False
C : -
D : -
A structure can be nested inside another structure.
Options
A : True
B : False
C : -
D : -
Which of the following statement is True?
Options
A : User has to explicitly define the numeric value of enumerations
B : User has a control over the size of enumeration variables.
C : Enumeration can have an effect local to the block, if desired
D : Enumerations have a global effect throughout the file.
The '.' operator can be used access structure elements using a structure variable.
Options
A : True
B : False
C : -
D : -
Union elements can be of different sizes.
Options
A : True
B : False
C : -
D : -
A structure can contain similar or dissimilar elements
Options
A : True
B : False
C : -
D : -
The '->' operator can be used to access structures elements using a pointer to a structure variable only
Options
A : True
B : False
C : -
D : -