Self-Review Exercises

  1. 22.1 Fill in the blanks in each of the following:

    1. The bits in the result of an expression using the            operator are set to one if the corresponding bits in each operand are set to one. Otherwise, the bits are set to zero.

    2. The bits in the result of an expression using the            operator are set to one if at least one of the corresponding bits in either operand is set to one. Otherwise, the bits are set to zero.

    3. Keyword            introduces a structure declaration.

    4. Keyword            is used to create a synonym for a previously defined data type.

    5. Each bit in the result of an expression using the            operator is set to one if exactly one of the corresponding bits in either operand is set to one.

Get C++ How to Program, 10/e now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.