How Virtual does work??
I do have some doubts and i need help from you. When we call a function which is virtual from a base class pointer to which the address of derived class object, it sees where vpointer, from vpointer it gets the address fo virtual table, manipulate offset and call the right function from vtable. ...
__________________
C++
domain name forum
|