C++ Exception Handling Question:

Explain terminate() function?

C++ Exception Handling Interview Question
C++ Exception Handling Interview Question

Answer:

terminate() is a library function which by default aborts the program
It is called whenever the exception handling mechanism cannot find a handler for a thrown exception.


Previous QuestionNext Question
Explain benefits of Exception Handling?Explain unexpected() function?