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 it is and how it might be called (2 methods).

0 Answers  


How many characters are recognized by ANSI C++?

0 Answers   Hexaware, NIIT,


Why is it necessary to use a reference in the argument to the copy constructor?

0 Answers  


Write a program to reverse a linked list?

8 Answers   Catalytic Software, Satyam,


Why is c++ not purely object oriented?

0 Answers  


How do c++ struct differs from the c++ class?

0 Answers  


How to implement is-a and has-a class relationships?

0 Answers  


Are strings immutable in c++?

0 Answers  


What is encapsulation in C++? Give an example.

0 Answers   HAL, Honeywell, Zomato,


Why is main an int?

0 Answers  


Am pass the 10000 records to target in target I will take commit interval 15000 when I was stop the work flow what will happened

0 Answers  


What is input operator in c++?

0 Answers  


Categories