Vidyalelo
Computer Science · Q468

Object Oriented Programming Using C++

Engineering and GATE · Computer Science · question 468

Q468

If an exception is thrown and no catch block matches the type of the thrown parameter, then _____

A.
the program terminates
Answer
B.
the first catch block is executed
C.
the last catch block is executed
D.
the program proceeds with the code following the catch blocks

Answer: Option A

Solution

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