8. What is the main difference
between structure and union?
O A. There is no difference
O B. Union takes less memory
O C. Union is faster
O D. Structure is faster
Answers
Answered by
0
Answer:
Structure
The total size of the structure is the sum of the size of every data member. The total size of the union is the size of the largest data member.
union
It is mainly used for storing various data types. It is mainly used for storing one of the many data types that are available.
Similar questions