What type of data is holded by variable u int in the following C code?
#include <stdio.h>
union u_tag
{
int ival;
float fval;
char *sval;
} u;
#include <stdio.h>
union u_tag
{
int ival;
float fval;
char *sval;
} u;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
Related Questions on Structure and Union
Which of the following can be a member of a structure?
A. Function
B. Another structure
C. Enumeration
D. All of the above

Join The Discussion