Multiple choice

Which method can be used to check the status after read/write operation?

  1. good()

  2. rdstate()

  3. clear()

  4. isstate()

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The member function good() is used to check whether the state of the stream for input/output operation is good or not.