What happens if an exception is throws from an object's
constructor and from object's destructor?
Answer Posted / achal ubbott
If an exception is generated by constructor of the class
that object is not created. That means if you do
delete obj_ptr;
the destructor would not be called.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How do you declare A pointer to a function which receives nothing and returns nothing
how to explain our contribution in the project?
What is meant by iomanip in c++?
What is the best ide for c++?
why is iostream::eof inside a loop condition considered wrong?
What is data types c++?
Who discovered c++?
What is the extraction operator and what does it do?
What is a friend function in c++?
Are there any special rules about inlining?
Why is c++ a mid-level programming language?
What is #include iostream in c++?
Define whitespace in C++.
What do you know about near, far and huge pointer?
can any one help to find a specific string between html tags
which is changed to a sting..
weather.html looks (for location) is