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

Answer Posted / rajesh

exception from object's destructor - could terminate the
program while stack unwinding.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the methods of exporting a function from a dll?

650


What is exception handling? Does c++ support exception handling?

589


What parameter does the constructor to an ofstream object take?

611


What is dynamic and static typing?

673


What do you mean by delegate? Can a user retain delegates?

526






What is a storage class used in c++?

614


Is it possible to have a recursive inline function in c++?

552


How do you establish a has-a relationship?

611


Explain deep copy and a shallow copy?

608


What is meant by a delegate?

608


What are the advantages of using typedef in a program?

642


Explain the isa and hasa class relationships.

591


Should you pass exceptions by value or by reference?

698


Explain the differences between private, public and protected and give examples.

567


What does 7/9*9 equal ? a) 1 b) 0.08642 c) 0

583