Vidyalelo
C Programming · Q128

Structure and Union

Programming · C Programming · question 128

Q128

Which member of the union will be active after REF LINE in the following C code? #include union temp int a; float b; char c; ; union temp s = 1,2.5,’A’; //REF LINE

A.
a
Answer
B.
b
C.
c
D.
Such declaration are illegal

Answer: Option A

Solution

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