Structure and Union MCQs
Practice free Structure and Union multiple-choice questions with instant answer feedback and step-by-step solutions. Click an option to check yourself, reveal the full explanation, and work through all 190 questions — no login required.
Question 19medium
When should you use a structure instead of an array in C?
Question 20easy
What is the purpose of an anonymous union in C?
Question 21medium
Which keyword is used to access a member of a nested structure in C?
Advertisement
Question 22easy
What is the main advantage of using a union in C?
Question 23easy
What is the size of an empty structure in C?
Question 24medium
In C, can you compare two structures using the equality operator (==)?
Advertisement
Question 25easy
What is the primary use of a union in a C program?
Question 26medium
How do you declare an array of structures in C?
Question 27easy
Which of the following is not a valid type for a structure member in C?