Explain unions in data structure 

Data Structures and Algorithms

Answer in Short

Union is a user-defined datatype in C, Which is used to store collection of dissimilar data items. Unions and structure are same, except allocating memory for their members.

Explanation

1247
0