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.

Computer Science & Information Technology

You might also like to view...

Stream mutable reduction operation ________creates an array containing the results of the stream’s prior operations.

a. array b. createArray c. toArray d. reduceArray

Computer Science & Information Technology

The functions of the three permission types (read, write, and execute) are applied the same for files and directories.

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

Computer Science & Information Technology

To calculate the mean in Excel, the ________ function is used

Fill in the blank(s) with correct word

Computer Science & Information Technology

The protocols POP3 (Post Office Protocol version 3) and __________ can be used to manage your incoming mail.

A. SMTP B. IMAP (Internet Message Access Protocol) C. NPOV D. RSS

Computer Science & Information Technology