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...

What happens if an exception is throws from an, object's
constructor and object's destructor?

Answer Posted / truong

1. If exception is thrown in the constructor, the destructor will be not called.
2. If exception is thrown in the destructor of a static object, exception will be catch in the main.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is fflush c++?

1076


What is diamond problem in c++?

1057


What is null pointer and void pointer and what is their use?

1149


What is the use of ::(scope resolution operator)?

1123


How do I start a c++ project?

1119


Can a constructor return a value?

1350


what are the iterator and generic algorithms.

2229


If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?

1099


What are the two shift operators and what are their functions?

1141


What is prototype for that c string function?

1189


Why do we learn c++?

1028


What is the difference between multiple and multilevel inheritance in c++?

1178


How can we read/write Structures from/to data files?

1184


What is microsoft c++ redistributable 2013?

1160


How can I improve my c++ skills?

1194