Vidyalelo
C++ Programming · Q21

Exception Handling in C++

Programming · C++ Programming · question 21

Q21

What happens if an exception is thrown inside a 'catch' block in C++?

A.
The exception is automatically caught and handled
B.
The program continues normally
C.
The program terminates unexpectedly
Answer
D.
It leads to an infinite loop

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board