Vidyalelo
C++ Programming · Q42

Exception Handling in C++

Programming · C++ Programming · question 42

Q42

What is the purpose of the 'std::unexpected' function in C++ exception handling?

A.
It is called when an unexpected exception occurs
Answer
B.
It handles unexpected exceptions
C.
It throws an unexpected exception
D.
It catches an unexpected exception

Answer: Option A

Solution

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