1.

What will be the output of the following C code?
#include <stdio.h>
union U
{
int m;
char s;
};
int main()
{
union U u, uu;
u.m = 65;
uu.s = 32;
printf("%d n", u.s);
}

A. Compilation Error
B. Garbage value
C. 65
D. 32
E. None of these
Answer» D. 32


Discussion

No Comment Found

Related MCQs