What is the main advantage of using a union in C?
A. It saves memory by sharing the same memory location
B. It allows easy access to all members
C. It enforces strong data typing
D. It prevents data from being modified
Answer: Option A
A. It saves memory by sharing the same memory location
B. It allows easy access to all members
C. It enforces strong data typing
D. It prevents data from being modified
Answer: Option A
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