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

Answer Posted / dee

if the exception is thrown in constructor, its caught or
function terminate will eb called.
U cannot throw exception from destructor

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Distinguish between a # include and #define.

653


What are advantages of using friend classes?

645


What do you mean by persistent and non persistent objects?

742


Which operations are permitted on pointers?

571


What is c++ iterator?

649






What is implicit conversion/coercion in c++?

657


What is rtti in c++?

630


Which c++ compiler is best?

595


What does obj stand for?

635


Why do we use structure in c++?

580


Can you sort a set c++?

532


What is microsoft c++ redistributable 2013?

579


What is the difference between #import and #include?

555


what are the iterator and generic algorithms.

1487


What are namespaces in c++?

601