1.

What will be the output of the following C code?
#include <stdio.h>
union test
{
char ch;
char c;
int n;
}ts;
int main()
{
printf("%d", sizeof(ts));
return 0;
}

A. 6
B. 4
C. 2
D. 1
E. None of these
Answer» C. 2


Discussion

No Comment Found

Related MCQs