adplus-dvertising
frame-decoration

Question

Which exception is thrown by dynamic_cast?

a.

bad_cast

b.

bad_typeid

c.

bad_exception

d.

bad_alloc

Answer: (a).bad_cast

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which exception is thrown by dynamic_cast?