C Programming :: Structures, Unions, Enums - Discussion
Home > C Programming > Structures, Unions, Enums > MCQs Questions Discussion
35 / 43
Choose the correct option.
Consider the following declarations.
union id {
char color;
int size;
}
struct {
char country;
int date;
union id;
} flag;
To assign a color to a fag, the correct statement would be
Aflag.color= 'W';
Bflag.id.color= 'W';
Cflag.color = 'White';
Dflage.id.color = 'White';
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
No Discussion on this question yet!