adplus-dvertising
frame-decoration

Question

If catching of base class exception is done before derived class in C++ ________________

a.

It gives compile time error

b.

It doesn’t run the program

c.

It may give warning but not error

d.

It always gives compile time error

Answer: (c).It may give warning but not error

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. If catching of base class exception is done before derived class in C++ ________________