C++ Interview Questions and Answers

 

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

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

Posted by:Richards