Please help me to write the code for comparing the sizes using structure and union,?

chaitu

New member
using this code i couldn't get the required output please help me:
struct a{
int x;
float y;
char c[10];
}
union b{
int x;
float y;
char c[10];
}
 
Back
Top