Courses
Tutorials
Practice
Contests
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
C++ | Exception Handling | Question 2
Last Updated :
Discuss
Comments
What is the advantage of exception handling ?
Remove error-handling code from the software's main line of code.
A method writer can choose to handle certain exceptions and delegate others to the caller.
An exception that occurs in a function can be handled anywhere in the function call stack.
Only 1
1, 2 and 3
1 and 3
1 and 2
This question is part of this quiz :
C++ Exception Handling
Tags:
C++ Quiz
Share your thoughts in the comments
Add Your Comment
GeeksforGeeks
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !