Multiple choice

What is the meaning of following catch block? catch(...) { Statements; }

  1. Handle any exception that is not caught by other handlers

  2. Handle all I/O exceptions

  3. Handle all exceptions

  4. None of these

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

The ellipsis (...) is used by catch statement to handle all those exceptions that are not caught by other handlers.