Does every object of virtual class have a pointer to vtable?
Or only the object of base class with virtual function has it?
Where did the vtable stored? code
Every object of polymorphic type will have a pointer to Vtable.
Where VTable stored is dependant on compiler.