[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

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 :: Societe Generale

Post Your Answer Here:     

No Discussion on this question yet!