Examveda

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;

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


This Question Belongs to C Program >> Structure And Union

Join The Discussion

Related Questions on Structure and Union