Self-Review Exercises

  1. 13.1 (Fill in the Blanks) Answer each of the following:

    1. Input/output in C++ occurs as               of bytes.

    2. The stream manipulators for justification are              ,               and              .

    3. Member function               can be used to set and reset format state.

    4. Most C++ programs that do I/O should include the               header that contains the declarations required for all stream-I/O operations.

    5. When using parameterized manipulators, the header               must be included.

    6. The               stream manipulator causes positive numbers to display with a plus sign.

    7. The ostream member function               is used to perform unformatted output.

    8. Input operations are supported by class               ...

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.