Everpure Interview Question

* 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.

Interview Answer

Anonymous

Nov 4, 2015

Hey what kind of questions were the remaining 8 of them ? Coz you have mentioned its a core engineering interview..