What does the 'sizeof' operator in C return for a union?
A. Total size of all union members
B. Size of the largest member
C. Size of the smallest member
D. Size of the union itself
Answer: Option B
Related Questions on Structure and Union
In a structure, what are the members also known as?
A. Variables
B. Properties
C. Objects
D. Elements
Which of the following can be a member of a structure?
A. Function
B. Another structure
C. Enumeration
D. All of the above
Join The Discussion