Structure & Union Questions and Answers
Structure & Union Questions with Answers are key topics in C programming questions and answers sections of competitive exams and technical interviews. These concepts allow efficient memory usage and data management, making them essential for understanding advanced C applications. Commonly featured in TCS, Infosys, and Tech Mahindra placement tests, questions on structure and union test your ability to differentiate between memory allocation, member access, and implementation. Practicing C programming MCQs with explanations improves conceptual clarity and debugging skills. Start your preparation with our curated C Structure & Union MCQs and download free PDFs for revision.
Structure & Union
Showing 10 of
95 questions
91. A bit field is
- A pointer variable in a structure
- One bit or a set of adjacent bits within a word.
- A pointer variable in a union.
- None of these
92. The restriction with union is:
- The last member can only be initialized
- the first member can only be initialized.
- Any member can be initialized.
- Union can't be initialized.
93. Which of the following statement is correct ?
- Union can be member of structure.
- Structure can be members of union.
- Both a and B
- None of these
94. Union differs from structure in which way
- All members are used at a time.
- Only one member can be used at a time.
- Union initialized all members as structure.
- None of these