Can we use resume in error handling i.e. in the catch block
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / s.murali krishnan
No.
The Exception can only handled using the catch block
the error CANNOT be handled.
| Is This Answer Correct ? | 1 Yes | 0 No |
Is it legal in c++ to overload operator++ so that it decrements a value in your class?
Mention the ways in which parameterized can be invoked. Give an example of each.
Explain the use of this pointer?
What is scope in c++ with example?
What are the uses of pointers?
What size is allocated to the union variable?
What is oop in c++?
What is a memory leak c++?
Explain the virtual inheritance in c++.
what is VOID?
What is purpose of abstract class?
What is difference between initialization and assignment?
12 Answers HCL, HP, Infosys,