aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • C++ Programming Fundamentals
  • Which of the following error handling functions returns t...
Multiple choice

Which of the following error handling functions returns true when an input or output operation has failed?

  1. eof()

  2. fail()

  3. bad()

  4. none of these

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

This function returns true when an input or output operation has failed.

Keep practicing — related questions

  • Which of the following error handling functions in C++ returns true when an input or output operation has f...
  • Which one of the following error handling functions of ios class returns true, when an input or an output o...
  • Error capturing is done by these utilities:
  • Which function can be used to make sure your program exits with a nonzero status even if there a standard e...
  • Which function can be used to make sure your program exits with a nonzero status even if there a standard e...
  • When a non-fatal I/O error has occurred in the file being currently used, then the value of ______ stream-s...
  • Which of the following Standard C functions can be used to reset end-of-file and error conditions on an ope...
  • "What stream usually outputs error messages to the screen? "
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Programming Fundamentals (2381 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy