What is union structure?

What is Union. Union is a user-defined data type, just like a structure . Union combines objects of different types and sizes together. The union variable allocates the memory space equal to the space to hold the largest variable of union. It allows varying types of objects to share the same location.

Sizin İçin Seçtik  Can a union be nested in structure in C?

Leave a Reply

Your email address will not be published. Required fields are marked *