C Programming :: Structures, Unions, Enums - Discussion
Home > C Programming > Structures, Unions, Enums > MCQs Questions Discussion
32 / 43
Choose the correct option.
The below declaration
union id {
char color [12];
int size;
} tshirt, pant;
denotes shirt and pant are variable of type id and
Aeach can have a value of color and size
Beach can represent either a 12-character color or a integer size at a time
Cshirt and pant are same as struct variables
Dvariable shirt and pant cannot be used simultaneously in a statement.
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
No Discussion on this question yet!