Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 is the difference between containment and delegation?

0 Answers  


What are the various oops concepts in c++?

0 Answers  


Can you declare an array without a size in c++?

0 Answers  


How many types of classes are there in c++?

0 Answers  


What are the advantages of using typedef in a program?

0 Answers  


What are inline functions? What is the syntax for defining an inline function?

0 Answers  


Which is better turbo c++ or dev c++?

0 Answers  


How does c++ structure differ from c++ class?

0 Answers  


What is pure virtual function? Or what is abstract class?

0 Answers  


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?

1 Answers  


What doescout<<(0==0) print out a) 0 b) 1 c) Compiler error: Lvalue required

0 Answers  


State the difference between delete and delete[].

0 Answers  


Categories