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


Please Help Members By Posting Answers For Below Questions

How do I download c++?

564


What is static in c++?

586


What is do..while loops structure?

611


How do you compile the source code with your compiler?

605


write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;

1451






Differences between private, protected and public and give examples.

568


write a programme to get a character and thier ASCII value

2588


How to tokenize a string in c++?

597


What is c++ vb?

602


What is function overloading in C++?

716


how to access grid view row?

1808


By using c++ with an example describe linked list?

592


Explain 'this' pointer and what would happen if a pointer is deleted twice?

594


Explain the problem with overriding functions

596


You run a shell on unix system. How would you tell which shell are you running?

646