1.

What will be the output of the following C code?#include <stdio.h> union Employee { int N; float F; }; void main() { union Employee emp; emp.N = 26; printf("%d", emp.N); }

A. Garbage value
B. Compilation Error
C. 26
D. Undefined behaviour
E. None of these
Answer» D. Undefined behaviour


Discussion

No Comment Found

Related MCQs