Which of the following options describe the functions of an overridden terminate() function?
A. It performs the desired cleanup and shutdown processing, and then returns an error status value to the calling function.
B. It performs the desired cleanup and shutdown processing, and then calls abort() or exit().
C. It performs the desired cleanup and shutdown processing, and if it has restored the system to a stable state, it returns a value of "-1" to indicate successful recovery.
D. It performs the desired cleanup and shutdown processing, and then throws a termination_exception.
E. It performs the desired cleanup and shutdown processing, and then calls the unexpected() handler.
I really don't know much about the terminate() function as I've never heard of it till now. The only thing I know is what I've read at http://publib.boulder.ibm.com/infoce...ef/cplr163.htm
Based on that link I see B as correct and the rest as incorrect.
Could someone else clarify my answer please.