Vidyalelo
C++ Programming · Q27

Exception Handling in C++

Programming · C++ Programming · question 27

Q27

What is the purpose of the 'std::terminate' function in C++?

A.
It is called when an exception is thrown
B.
It is called when a program terminates normally
C.
It is called when an exception is caught
D.
It is called when an uncaught exception causes program termination
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board