Google News
logo
CPP - Quiz(MCQ)
What is Re-throwing an exception means in C++?
A)
An exception that is caught twice
B)
An exception that is not handled in one caught hence thrown again
C)
An exception that is thrown again as it is not handled by that catching block
D)
All of the above

Correct Answer :   All of the above


Explanation : Exception that is caught by a catch block but not handled by that catch block can be re-thrown by that catch block to further try-catch block.

Advertisement