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.
a. The old style of representing true/false values used -1 to indicate false and 1 to indicate true.
You might also like to view...
A multihomed customer has which of the following?
A) Static routes B) A single Internet connection C) More than one Internet connection D) None of these answers are correct.
You turn your computer on and nothing happens. The computer light is off. You check the fan and it is running. Which of the following is a likely source of the problem?
A) Faulty power supply B) Faulty hard drive C) Voltage problem with the motherboard D) Bad power cord