Home » C++ Programming » Exception Handling » Question
  1. Which exception is thrown by dynamic_cast?
    1. bad_alloc
    2. bad_exception
    3. bad_typeid
    4. bad_cast
    5. None of these
Correct Option: D

bad_cast exception is thrown by dynamic_cast.



Your comments will be displayed only after manual approval.