Overloaded operators can be used to test a stream’s state in conditions. The operator! member function, inherited into the stream classes from class basic_ios, returns true if the badbit, the failbit or both are true. The ________ member function (added in C++11) returns false if the badbit is true, the failbit is true or both are true.

a. operator boolalpha
b. operator!
c. operator boolean
d. operator bool


d. operator bool

Computer Science & Information Technology

You might also like to view...

The ______ of a function take(s) information into the function from the calling program.

a. local variables b. input arguments c. output arguments d. prototype e. purpose

Computer Science & Information Technology

You must click the ________ button to change the active window to fill the entire screen

A) Maximize B) Resize C) Expand D) Restore

Computer Science & Information Technology

A ________ displays the data from the underlying table or query on more than one page

A) split form B) multi window form C) linked form D) multi-page form

Computer Science & Information Technology

Financial worksheets typically display dollar signs ________

A) in the bottom row of the worksheet. B) only in the first row and in the total row. C) in each numeric cell. D) only in the total row.

Computer Science & Information Technology