Vidyalelo
C++ Programming · Q44

Exception Handling in C++

Programming · C++ Programming · question 44

Q44

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

A.
It is called when an uncaught exception occurs
B.
It terminates the program
Answer
C.
It handles exceptions
D.
It catches exceptions

Answer: Option B

Solution

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