To handle an exception thrown, a _______ block is used to catch the exception. 

  • if 
  • catch 
  • try 
  • for
The catch block in C++ is used to handle exceptions. When an exception occurs in the try block, it is passed to the catch block where it can be handled. The type of exception that a particular catch block can handle is determined by the parameter it carries.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *