Vidyalelo
C Programming · Q16

Structure and Union

Programming · C Programming · question 16

Q16

Which of the following is true about the memory allocation of structures and unions in C?

A.
Structures require memory for all members simultaneously
B.
Unions require memory for all members simultaneously
C.
Structures allocate memory for the largest member
Answer
D.
Unions allocate memory for the smallest member

Answer: Option C

Solution

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