What potential problems can arise from typecasting a base class pointer into a derived class pointer so that the derived classs member functions can be called?
Related Questions
- If a class derives from another class, will the derived class automatically contain all the public, protected, and internal members of the base class?
- Can derived class override some but not all of a set of overloaded virtual member functions inherited from the base class?
- When can a derived class override a base class member?