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
Define what is constructor?
What is scope resolution operator in c++ with example?
What is static function? Explain with an example
Explain terminate() function?
What is the size of a vector?
What do you understand by pure virtual function? Write about its use?
What is a memory leak c++?
What is DlgProc?
Explain the volatile and mutable keywords.
What are the extraction and insertion operators in c++?
What is the use of default constructor?
What is setw manipulator in c++?
What are advantages of c++?
What is ctime c++?
What c++ library is string in?