Please explain this concept and when it is used through code. Mention each step please as comments. Also include try, throw and (don’t remember third)
How imp. is it for interviews?
Please explain this concept and when it is used through code. Mention each step please as comments. Also include try, throw and (don’t remember third)
How imp. is it for interviews?
I am sorry about that…title is exception handling in C++
@pranavsaihgal911, refer this blog the concept is explained very nicely :-
https://www.learncpp.com/cpp-tutorial/141-the-need-for-exceptions/
read this atleast till 14.3
for interviews this topic is not something that is asked very frequently but is definitely something that an interviewer expect you to know of
some important topics in exception handling are :-
exception types,
nested try-catch,
throws statements ,
stack unwinding (imp)
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.