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

Why should you learn c++?

794


Explain the term memory alignment?

905


Is java the same as c++?

735


What is an operator function? Describe the function of an operator function?

844


Is atoi safe?

817


Where do I find the current c or c++ standard documents?

824


What is a manipulator in c++?

928


Why is main function important?

817


Name the implicit member functions of a class.

826


What is function overriding in c++?

804


What relational operators if statements in c++?

884


Why is "using namespace std;" considered bad practice?

837


What is the size of integer variable?

798


Does c++ have a hash table?

730


When do you call copy constructors?

868