Assume that the size of an integer is 4 bytes and size of character is 1 byte. What will be the output of following program?
#includestdio.h
union test
{
int x;
char arr[8];
int y;
}u;
int main()
{
printf("%u",sizeof(u));
return 0;
}



Posted on by