C++ Exception Handling Question:
Download Questions PDF

Attempting to throw an exception that is not supported by a function call results in calling _____________ library function.

a. indeterminate()
b. unutilized()
c. unexpected()
d. unpredicted()

Answer:

c. unexpected()

Download C++ Exception Handling Interview Questions And Answers PDF

Previous QuestionNext Question
Return type of uncaught_exception() is________________.

a. int
b. bool
c. char *
d. double
Throwing an unhandled exception causes standard library function _______________ to be invoked.

a. stop()
b. aborted()
c. terminate()
d. abandon()