Multiple Choice
Which of the following is not true about bool values and how they are output with the output stream?
A) The old style of representing true/false values used -1 to indicate false and 1 to indicate true.
B) A bool value outputs as 0 or 1 by default.
C) Stream manipulator boolalpha sets the output stream to display bool values as the strings "true" and "false".
D) Both boolalpha and noboolalpha are "sticky" settings.
Correct Answer:

Verified
Correct Answer:
Verified
Q3: Which C++ data type was designed to
Q12: To reset the format state of the
Q13: Select the false statement. Outputs are:<br>A) Flushed
Q15: If unexpected data is processed in an
Q19: The putback member function returns to the
Q21: Which of the following libraries does not
Q25: Which of the following outputs does not
Q27: Which of the following classes is a
Q32: Which of the following is not a
Q34: Which of the following classes is deepest