I'm supposed to find out what object is p pointing to and write out the functions. And also I'm not supposed to use virtual. I've been stuck on this for a while and would appreciate any help.
class Employee ;
class Secretary : public Employee ;
class Manager : public Employee ;
class Director : public Manager ;
// ...
void f( Employee *p) {
// what class does p belong to?
}