In the above program , Object destructs in a proper order(b'coz base class destructor is made as virtual......)

V-Table:

Normally v_table(virtual table ) is created for each and every class .The v-table normally contains the addresses of the virtual functions and the pointer to point the function(called as v-pointer). Whenever Virtual function is called , v-table decides to the function address..........