C - Structures,Unions - Discussion

You Are Here :: Home > C > Structures,Unions - Discussion

 



Q.

What type of data is holded by variable u int this C code?

#include
union u_tag
{
int ival;
float fval;
char *sval;
} u;
The variable u here

A. Will be large enough to hold the largest of the three types; 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
Explaination:

No Explanation



Discussion

Your Comments Goes here...
NameDiscussion