1.

What will be the output of the following C code?
#include <stdio.h>
union S
{
int n;
char ch;
}u = {100, 99};
int main()
{
printf("%d n", u.ch);
}

A. 99
B. 100
C. Compilation Error
D. Garbage value
E. None of these
Answer» C. Compilation Error


Discussion

No Comment Found

Related MCQs