Interview Questions

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

C++ Interview Questions and Answers


(Continued from previous question...)

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.

(Continued on next question...)

Other Interview Questions