What happens if an exception is throws from an, object's
constructor and object's destructor?
Answer Posted / dee
if the exception is thrown in constructor, its caught or
function terminate will eb called.
U cannot throw exception from destructor
Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
What is encapsulation in c++ with example?
What is runtime errors c++?
what is multi-threading in C++?
Explain Memory Allocation in C/C++ ?
What is a loop? What are different types of loops in c++?
Explain the auto storage classes in c++.
What is meant by entry controlled loop?
What is abstract class in c++?
Differentiate between C and C++.
What is a constant reference?
What is the full form nasa?
What is class syntax c++?
Why do we use classes in programming?
What is class invariant in c++?
How do c++ struct differs from the c++ class?