A
Q. What will be the output of the following C code on a 64 bit machine?
Code:
#include <stdio.h>
union Sti
{
int nu;
char m;
};
int main()
{
union Sti s;
printf("%d", sizeof(s));
return 0;
}
union Sti
{
int nu;
char m;
};
int main()
{
union Sti s;
printf("%d", sizeof(s));
return 0;
}
- Correct Answer - Option(D)
- Views: 28
- Filed under category C Programming
- Hashtags:
Discusssion
Login to discuss.