Computer Science, asked by Animesh1807, 1 year ago

What are Union and Enumeration ??

Answers

Answered by mahe8
3
Union and Enumeration in C++. Union in C++. Union is also used to group a number of different variables together under a common name. Hence, it is similar to structure with a difference in the way the data is stored and retrieved.

Animesh1807: But can we use multiple variables of a union at a time
mahe8: yes
Animesh1807: Aren't they stored at same location in a memory
Animesh1807: Please tell
Similar questions