Answer the following statements true (T) or false (F)

1) Stream manipulator showpoint forces floating-point values to print with the default six
digits of precision unless the precision value has been changed, in which case floatingpoint
values print with the specified precision.
2) The ostream member function put outputs the specified number of characters.
3) The stream manipulators dec, oct and hex affect only the next integer output operation.
4) Member function read cannot be used to read data from the input object cin.
5) You must create the cin, cout, cerr and clog objects explicitly.

1. True.
2. False. The ostream member function put outputs its single-character argument.
3. False. The stream manipulators dec, oct and hex set the output format state for integers to the specified base until the base is changed again or the program terminates.
4. False. Function read can read from any input stream object derived from istream.
5. False. These four streams are created automatically for you. The header
must be included in a file to use them. This header includes declarations for each predefined
stream object.

Computer Science & Information Technology

You might also like to view...

If you have selected the Lock Drawing Mode, press ________ to release it

A) F1 B) Ctrl+Tab C) Esc D) Tab+Esc

Computer Science & Information Technology

The ____ allows you to define a new gradient by modifying a copy of an existing gradient or preset, or by choosing colors to create a new blend.

a. Color Editor b. Format Editor c. Gradient Editor d. Copy Editor

Computer Science & Information Technology