Question 16: Which of the following methods can a developer use to override the default terminate() function in C++?

A. Write the terminate() function with two int arguments.

B. Write the terminate() function with a runtime_error argument.

C. Pass the address of the overriding function to the set_terminate() function.

D. Write the terminate() function with one int argument.

E. Write the terminate() function with a runtime_exception argument.

 

 

 

C

你可能感兴趣的:(C++,c,exception,function,methods)