Which C++ operator is commonly used for runtime type checking and safe downcasting in a polymorphic class hierarchy?
Options
- A. static_cast
- B. dynamic_cast
- C. reinterpret_cast
- D. More than one of the above
- E. None of the above
Quiz Practice:
B. dynamic_cast