Structure & Union Questions and Answers

Take Exam

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
Show Answer Report

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.
Show Answer Report

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
Show Answer Report

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
Show Answer Report

95. A bit field can be of

  • int
  • float
  • double
  • All of these
Show Answer Report
Questions and Answers for Competitive Exams Various Entrance Test