Vidyalelo
C++ Programming · Q617

C++ miscellaneous

Programming · C++ Programming · question 617

Q617

In nested try-catch block, if the inner catch block gets executed, then . . . . . . . .

A.
Program stops immediately
B.
Outer catch block also executes
C.
Compiler jumps to the outer catch block and executes remaining statements of the main() function
D.
Compiler executes remaining statements of outer try-catch block and then the main() function
Answer

Answer: Option D

Solution

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