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
How does c++ sort work?
Difference between strdup and strcpy?
How did c++ get its name?
What is setfill c++?
Explain polymorphism?
what is VOID?
declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator
You want to link a c++ program to c functions. How would you do it?
Difference between a copy constructor and an assignment operator.
What is the best free c++ compiler for windows?
What is the role of static keyword for a class member variable?
Is the declaration of a class its interface or its implementation?
When to use “const” reference arguments in a function?
How one would use switch in a program?
Do class declarations end with a semicolon? Do class method definitions?