Multiple Choice
To deal with logical errors in a program, such as a string subscript out of range or an invalid argument to a function call, several classes are derived from the class ____.
A) logic_error
B) logic_exception
C) runtime_error
D) exception
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
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
Q25: The statements that may generate an exception
Q27: In C++, any class can be considered
Q28: Throwing an exception is typically done using
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,