To rethrow an exception, the exception handler must:
A) Use the throw; statement.
B) Use the throw command with the same parameters as the original exception.
C) Return a reference to whatever caused the original exception.
D) Not have attempted to process that exception at all.
Correct Answer:
Verified
Q1: If dynamic memory has been allocated for
Q2: An exception:
A) Terminates program execution.
B) Terminates the
Q3: Exception handling should not be used:
A) As
Q5: Which class indicates that an error occurred
Q6: Which statement about class unique_ptr (of the
Q7: The purpose of stack unwinding is to:
A)
Q8: Select the false statement regarding exceptions.
A) The
Q9: The try block cannot:
A) Enclose the code
Q10: Once an exception is thrown, when can
Q11: Select the false statement. A rethrown exception:
A)
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents