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

What are the advantages of using pointers in a program?

0 Answers  


What is switch case in c++ syntax?

0 Answers  


Is there a c++ certification?

0 Answers  


What are friend functions in C++?

0 Answers   BlackRock,


How the virtual functions maintain the call up?

0 Answers  






Show the application of a dynamic array with the help of an example.

0 Answers  


What are 2 ways of exporting a function from a dll?

0 Answers  


List the features of oops in c++?

0 Answers  


How can a struct in c++ differs from a struct in c?

0 Answers  


What are disadvantages of pointers?

0 Answers  


Difference between Overloading and Overriding?

35 Answers   Appnetix Techno, GameLoft, HP, IBM, NIIT, Rohde and Schwarz,


What are c++ storage classes?

0 Answers  


Categories