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 |
What is the difference between containment and delegation?
What are the various oops concepts in c++?
Can you declare an array without a size in c++?
How many types of classes are there in c++?
What are the advantages of using typedef in a program?
What are inline functions? What is the syntax for defining an inline function?
Which is better turbo c++ or dev c++?
How does c++ structure differ from c++ class?
What is pure virtual function? Or what is abstract class?
Why for local variables the memory required to hold the variable is allocated from the program stack and for new its allocated from the heap?
What doescout<<(0==0) print out a) 0 b) 1 c) Compiler error: Lvalue required
State the difference between delete and delete[].