The union is user-defined data-types store multiple values of different data types in a single unit. It doesn’t tenant the sum of the total memory of all members. It occupies the memory of the largest element only. It can access only one variable at a time because members are sharing the common space.

Suggested Papers: