ABSTRACT

The structure is a collection of variables under a single name that can be of the same type or different types. A union is an object similar to a structure that allows storing different data types, but all its members share the same memory location.