Question

Q1: Which of the following is not true about bool values and how they're 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.

Answer

This answer is hidden. It contains 83 characters.