Chapter 15

Bitfields

Bit fields are unsigned int members of structures that occupy a specified number of adjacent bits from one to sizeof (int). They may be used as an ordinary int variable in arithmetic and logical operations.