C++ Programming Question:

How does throwing and catching exceptions differ from using setjmp and longjmp?

C++ Programming Interview Question
C++ Programming Interview Question

Answer:

The throw operation calls the destructors for automatic objects instantiated since entry to the try block.


Previous QuestionNext Question
How many ways are there to initialize an int with a constant?What is a default constructor in C++?