What happens if an exception is throws from an object's
constructor and from object's destructor?
Answer Posted / reegan
if an exception is throws from object constructor, it is
caught by catch block .the same thing is happen in the objects
destructor.
Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
Is c++ vector a linked list?
Why iomanip is used in c++?
What do you mean by friend class & friend function in c++?
why is c++ called oops? Explain
When are exception objects created?
If a base class is an adt, and it has three pure virtual functions, how many of these functions must be overridden in its derived classes?
Do we have to use initialization list in spite of the assignment in constructors?
Do you know about latest advancements in C++ ?
What is the extraction operator and what does it do?
Define basic type of variable used for a different condition in C++?
Write a function that swaps the values of two integers, using int* as the argument type?
Can a program run without main in c++?
What is a singleton c++?
What is c++ stringstream?
What does asterisk mean in c++?