Multiple Choice
Which of the following options should you choose when an exception occurs in the program that analyzes an airline's ticketing transactions?
A) Terminate the program.
B) Include code in the program to recover from the exception.
C) Log the error and continue.
D) Include code in the header file.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q6: If you want to include members in
Q16: If the operator new cannot allocate memory
Q24: The order of the catch blocks does
Q25: The statements that may generate an exception
Q29: The logic_error and runtime_error classes are defined
Q30: The function _ can check whether an
Q31: A catch block can have, at most,
Q33: When an exception is thrown in a
Q35: If no exception is thrown in a
Q42: Which of the following statements throws a