What happens if an exception is throws from an, object's
constructor and object's destructor?
Answer Posted / truong
1. If exception is thrown in the constructor, the destructor will be not called.
2. If exception is thrown in the destructor of a static object, exception will be catch in the main.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Explain the static storage classes in c++.
What is function overriding in c++?
True or false, if you keep incrementing a variable, it will become negative a) True b) False c) It depends
Explain unexpected() function?
What is class invariant in c++?
Can you help me with this one? Make a program that when a user inputed a Product Name, it will display its price, and when the user inputed the quantity of the inputed product, it will show its total price. The output must be like this: Product Name: Price: Quantity: Total Price: ..this is the list of products to be inputed: Cellphone - 1500 Washing Machine - 5200 Television - 6000 Refrigirator - 8000 Oven - 2000 Computer - 11000 thanks..:D
Is c++ map a hash table?
How do c++ struct differs from the c++ class?
When is dynamic checking necessary?
can any one help to find a specific string between html tags
which is changed to a sting..
weather.html looks (for location) is
What is function overloading c++? Who calls main function? Why do we need c++? How the endl and setw manipulator works? Write a corrected statement in c++ so that the statement
will work properly. if (4 < x < 11) y=2*x;