Sail E0 Webinar
Question
Comment on the following union declaration?
union temp
{
int a;
float b;
char c;
}; union temp s = {1,2.5,'A'}; //REF LINE     Which member of the union will be active after REF LINE?
Options:
A .  a
B .  b
C .  c
D .  Such declaration are illegal
Answer: Option A


None.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers