Vidyalelo
C Programming · Q14

Structure and Union

Programming · C Programming · question 14

Q14

In a union, which member can you access safely after assigning a value to one of its members?

A.
All members can be accessed
B.
Only the last assigned member
C.
Only the first assigned member
Answer
D.
Any member, but it's compiler-dependent

Answer: Option C

Solution

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