Vidyalelo
C Programming · Q9

Structure and Union

Programming · C Programming · question 9

Q9

What does the 'sizeof' operator in C return for a union?

A.
Total size of all union members
B.
Size of the largest member
Answer
C.
Size of the smallest member
D.
Size of the union itself

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board