Examveda

Which member of the union will be active after REF LINE in the following C code?
#include <stdio.h>
union temp
{
    int a;
    float b;
    char c;
};
union temp s = {1,2.5,’A’}; //REF LINE

A. a

B. b

C. c

D. Such declaration are illegal

Answer: Option A


This Question Belongs to C Program >> Structure And Union

Join The Discussion

Related Questions on Structure and Union