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
What is encapsulation in C++? Give an example.
What are references in c++? What is a local reference?
Can member data be public?
Why c++ is the best language?
Differentiate between C and C++.
Define pure virtual function?
Define the operators that can be used with a pointer.
What size is allocated to the union variable?
How many types of scopes are there in c++?
Who invented turbo c++?
What is scope in c++ with example?
Explain the concept of copy constructor?
Can we use struct in c++?
What does #define mean in c++?
What are files in c++?