[LC++]virtual functions

choube mehul choube_mehul at yahoo.com
Fri Oct 29 11:15:02 UTC 2004

> > how many?
> For each object of class base or class derived.
> Here: one virtual table for object 'd'.
> > one for base?
> > and one for derived?
> You have just one object 'd', so you have just one
> virtual table within the 
> memory space of that object.

    now if i add a pointer variable base *ptr
    then will a additional virtual table be 
    2 virtual tables one for ptr and another for


Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony

More information about the tuxCPProgramming mailing list