C-Structure & Union Question and Answer
C-Structure & Union Question and Answer
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