What is the advantage of unions in C++?
What are the situations to use unions?
With Cheers
-Nirmal
What are the situations to use unions?
With Cheers
-Nirmal
struct s {
int temp1;
char temp2;
} s1;
union u {
int temp1;
char temp2;
} u1;
Comment