What happens if an exception is throws from an, object's
constructor and object's destructor?
Answer Posted / truong
1. If exception is thrown in the constructor, the destructor will be not called.
2. If exception is thrown in the destructor of a static object, exception will be catch in the main.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What does iomanip mean in c++?
Distinguish between new and malloc and delete and free().
How do I run a program in notepad ++?
What is size_type?
What is the v-ptr?
what are the types of Member Functions?
Write about c++ storage classes?
What is abstraction c++?
Explain the scope of resolution operator.
Differentiate between realloc() and free().
Differences between private, protected and public and give examples.
What is the basic structure of a c++ program?
What is the maximum combined length of command line arguments including the space between adjacent arguments?
Do you know about C++ 11 standard?
What is a node class in c++?