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

When do we run a shell in the unix system? How will you tell which shell you are running?

558


What is a stack? How it can be implemented?

700


Can we delete this pointer in c++?

679


What is bubble sort c++?

577


What does obj stand for?

635






What is an associative container in c++?

555


What is flush programming?

578


What you know about structures in C++?

599


Why do we need runtime polymorphism in c++?

561


Refer to a name of class or function that is defined within a namespace?

617


How to get the current position of the file pointer?

556


What is the syntax for a for loop?

603


How the virtual functions maintain the call up?

610


Draw a flow chart and write a program for the difference between the sum of elements with odd and even numbers. Two dimensional array.

5899


How does c++ sort work?

568