A

Admin • 833.24K Points
Coach

Q. Which of the following is used to handle exceptions in C++?

  • (A) try-catch block
  • (B) throw-catch block
  • (C) error-exception block
  • (D) catch-throw block
  • Correct Answer - Option(A)
  • Views: 35
  • Filed under category C++
  • Hashtags:

Explanation by: Admin

In C++, the 'try-catch' block is used to handle exceptions.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.