Vidyalelo
C Programming · Q71

Structure and Union

Programming · C Programming · question 71

Q71

What will be the output of the following C code? #include union p int x; char y; k = 1, 97; int main() printf("%d ", k.y);

A.
Compile time error
B.
97
C.
a
D.
1
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board