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
Explain the concept of copy constructor?
What is ifstream c++?
How does class accomplish data hiding in c++?
Define friend function.
What are the advantages of using typedef in a program?
What are default parameters? How are they evaluated in c++ function?
Of the numbers 12 23 9 28 which would be at the top of a properly implemented maxheap a) 28 b) 9 c) Any of them could be
What is the difference between containment and delegation?
What is constructor and destructor in c++?
What flag means?
Is string data type in c++?
What is the difference between c++ and turbo c++?
If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?
What is code reusability in c++?
Explain what are accessor methods?