Vidyalelo
Computer Science · Q188

Object Oriented Programming Using C++

Engineering and GATE · Computer Science · question 188

Q188

If an integer object is thrown with a throw statement, then a subsequent catch block has a usable match if the type of the catch argument is _____

A.
const int &
B.
int &
C.
either (a) or (b)
Answer
D.
neither (a) nor (b)

Answer: Option C

Solution

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