Can we use resume in error handling i.e. in the catch block

Answers were Sorted based on User's Feedback



Can we use resume in error handling i.e. in the catch block..

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

Can we use resume in error handling i.e. in the catch block..

Answer / hendry

yes,we can use

Is This Answer Correct ?    4 Yes 1 No

Can we use resume in error handling i.e. in the catch block..

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

Can we use resume in error handling i.e. in the catch block..

Answer / shiva

no can not using resume in c++

Is This Answer Correct ?    1 Yes 0 No

Can we use resume in error handling i.e. in the catch block..

Answer / neema

resume() can be used only with threads

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More C++ General Interview Questions

In which memory a class gets stored(in heap /in stack)? And why??

2 Answers  


what is C++ exceptional handling?

0 Answers  


What is the function of I/O library in C++ ?

0 Answers   HCL,


What is oops in c++?

0 Answers  


Can create new c++ operators?

0 Answers  


Write a program which uses Command Line Arguments

0 Answers  


What is a .h file c++?

0 Answers  


How the endl and setw manipulator works?

0 Answers  


What is the use of endl in c++?

0 Answers  


Is c++ used anymore?

0 Answers  


What is a string example?

0 Answers  


Can you Mention some Application of C/C++?

0 Answers  


Categories