Quiz on Union

Check your understanding of the union by completing this quiz.

We'll cover the following...
Technical 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


1 / 5