Consider the following C declaration: struct { short S[5]; union { float y; long z; } u; } t; Assume short 2 bytes, float/long 4 bytes. Memory requirement?
- A. 22 bytes
- B. 14 bytes
- C. 18 bytes
- D. 10 bytes
Answer: B. 14 bytes
Explanation: 5*2 + max(4,4) = 14.