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

  • (A) try and catch
  • (B) error handling functions
  • (C) exception class
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (A) try and catch
Explanation: In C++, exceptions are handled using 'try' and 'catch' blocks.
Explanation by: Shiva Ram
In C++, exceptions are handled using 'try' and 'catch' blocks.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
231
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Shiva Ram
Publisher
πŸ“ˆ
98%
Success Rate