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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is stream and its types in c++?

987


Explain some examples of operator overloading?

1033


If all is successful, what should main return a) 0 b) 1 c) void

971


Refer to a name of class or function that is defined within a namespace?

1048


Are vectors faster than arrays?

957


What is the difference between public and private data members?

1118


How many ways can a variable be initialized into in C++?

970


When we use Abstract Class and when we use Interface?where we will implement in real time?

2133


How did c++ start?

1038


I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.

1078


What are the syntactic rules to be avoid ambiguity in multiple inheritance?

1122


What is the use of endl in c++?

973


How does a C++ structure differ from a C++ class?

1072


What do the keywords volatile and mean mutable?

1004


What is the full form of c++?

1246