Home » C++ Programming » Exception Handling » Question
  1. Which statement is used to catch all types of exceptions?
    1. catch(Test t)
    2. catch(…)
    3. catch()
    4. All of above
    5. None of these
Correct Option: B

This catch statement will catch all types of exceptions that arises in the program.



Your comments will be displayed only after manual approval.