Prev Next C Union is also like structure, i.e. collection of different data types which are grouped together. Each element in a union is called member. Union and structure in C are same in concepts, except allocating memory for their members. Structure allocates storage space for all its members separately. Whereas, Union allocates one common storage space for all its members We can access only one member of union at a time. We can’t access all member values at the same time in union. But, structure can access all member values at the same time. This is because, Union allocates … Continue reading C – Union
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed