Multiple Choice
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
Correct Answer:

Verified
Correct Answer:
Verified
Q19: The putback member function returns to the
Q20: Which of the following is not true
Q21: 2.1 Q2 [C++11] Which of the following
Q22: What will be output by the following
Q23: Which of the following statements restores the
Q25: Which of the following outputs does not
Q26: What will be output by the following
Q27: Which of the following classes is a
Q28: Select the correct statement regarding C++ I/O
Q29: The stream-extraction operator:<br>A) Does not normally accept