What is union in C PPT?

Unions are collection of different datatype grouped together under a single variable name for convienient handling . union syntax : datatype memberl ; datatype member2; union book int pages; char bookname[10] ; char author[20] ; float price; 4.

Read more

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.

Read more