C++ Exception Handling Question:
Download Questions PDF

Throwing an unhandled exception causes standard library function _______________ to be invoked.

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

Answer:

c. terminate()

Download C++ Exception Handling Interview Questions And Answers PDF

Previous QuestionNext Question
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()
Generic catch handler is represented by ______________.

a. catch(..,)
b. catch(---)
c. catch(…)
d. catch( void x)