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
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board