* Layout of inherited objects, table layout and how virtual functions and inherited. The interviewer started with a base class which contain a virtual function and an inherited class. Then goes on accessing member functions and data from these base class objects and inherited class objects. The interview question is to explain using the vtable and the memory layout for each of these class instances how and why you get resolved to the correct definition of the virtual function.
Anonymous
Hey what kind of questions were the remaining 8 of them ? Coz you have mentioned its a core engineering interview..
Check out your Company Bowl for anonymous work chats.