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: Option D
Join The Discussion