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
must be included in a file to use them. This header includes declarations for each predefined
stream object.
You might also like to view...
On a Linux computer, what contains group memberships for the local system?
a. /etc/passwd b. /etc/shadow c. /etc/group d. /etc/fstab
ScreenTips are fixed in Access and cannot be changed
Indicate whether the statement is true or false
A Web ____ creates a connection to one or more XML Web services.
A. reference B. link C. directory D. entry
A two-dimensional array can be viewed as
A) two rows of values. B) two columns of indexes. C) a table with rows and columns. D) any of the above. E) none of the above.