Multiple Choice
Suppose you have written a program that inputs data from a file.If the input file does not exist when the program executes, then you should choose which option?
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
Q14: Which of the following statements creates a
Q15: The string concatenation operator is represented by
Q16: If the operator new cannot allocate memory
Q17: When division by zero occurs and the
Q18: In C++, throw is a(n) _ word.
Q20: The heading of a try block can
Q21: In a sequence of try/catch blocks, the
Q22: The function _ returns a string containing
Q23: The class _ deals with the string
Q24: The order of the catch blocks does