Quiz on Union
Check your understanding of the union by completing this quiz.
1
What will be the size of z
in the following declaration?
union u
{
short int i ; float j ; double d ;
} ;
union u z ;
A)
2 bytes
B)
4 bytes
C)
8 bytes
D)
16 bytes
Question 1 of 50 attempted
Get hands-on with 1200+ tech skills courses.