Vidyalelo
C Programming · Q133

Structure and Union

Programming · C Programming · question 133

Q133

What type of data is holded by variable u int in the following C code? #include union u_tag int ival; float fval; char *sval; u;

A.
Will be large enough to hold the largest of the three types;
Answer
B.
Will be large enough to hold the smallest of the three types;
C.
Will be large enough to hold the all of the three types;
D.
None of the mentioned

Answer: Option A

Solution

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