Can we use resume in error handling i.e. in the catch block
Answer Posted / mms zubeir
I believe the question is not properly formed, am I right?
The question could be: Can we resume the execution from
where the exception is thrown?
The answer can be Yes** and No*.
* - By using C++ try/catch mechanism we cannot resume back
because of the stack unwinding happens.
** - By using structured exception handling of Win32, we
can resume.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How java is different from c and c++?
Explain how would you handle a situation where you cannot call the destructor of a local explicitly?
What is singleton pattern in c++?
Why c++ does not have finally?
Why c++ is not a pure oop language?
Should I learn c or c++ or c#?
What is the use of volatile variable?
Can you write a function similar to printf()?
Is c++ a high level language?
What is an undefined reference/unresolved external symbol error and how do I fix it?
Explain how an exception handler is defined and invoked in a Program.
How we can differentiate between a pre and post increment operators during overloading?
Describe protected access specifiers?
How does java differ from c and c++?
Can I learn c++ in a week?