What is the union in C?

C Union. Union is an user defined datatype in C programming language . It is a collection of variables of different datatypes in the same memory location. We can define a union with many members, but at a given point of time only one member can contain a value.

Sizin İçin Seçtik  What is the difference between union and struct in C++?

Leave a Reply

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