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 from object's destructor?

Answer Posted / achal ubbott

If an exception is generated by constructor of the class
that object is not created. That means if you do

delete obj_ptr;
the destructor would not be called.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is setfill c++?

1141


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

1168


What is the main function c++?

1095


Explain function overloading

994


Explain what are accessor methods?

1109


What is java and c++?

1158


What is polymorphism & list its types in c++?

1047


What are separators in c++?

1076


Is map ordered c++?

1084


Why c++ is created?

982


What are keywords in c++?

1085


Can you Mention some Application of C/C++?

1051


What is meaning of in c++?

1202


Which ide is best for c++?

1033


Write a function to perform the substraction of two numbers. Eg: char N1="123", N2="478", N3=-355(N1-N2).

983