well the interviewer didn't start out that way. She gave me codes in java, where a derived class overrides a function in the base class. She asked me if I invoke the overridden function of the derived class which is cast into its base class type, the base's or the derived's gets run. I said the derived's. She said good, then asked what if this is in C++. I said it'd be the same and she said NO, C++ works in the opposite way. I hereby seek enlightenment from you guys.