What happens if an exception is throws from an object's
constructor and from object's destructor?
Answer Posted / rajesh
exception from object's destructor - could terminate the
program while stack unwinding.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is a stack? How it can be implemented?
What is the disadvantage of using a macro?
Define stacks. Provide an example where they are useful.
What are the two types of polymorphism?
What is name hiding in c++?
Write a program to interchange 2 variables without using the third one.
Carry out conversion of one object of user-defined type to another?
Is c++ a programming language?
What is the object serialization?
Why is c++ not purely object oriented?
Can a constructor return a value?
What is the difference between object-oriented programming and procedural programming?
What is basic if statement syntax?
Which one is a preferred language C or C++? Why?
Which software is best for programming?