when a call is made to a virtual function how is proceesed in c++?
When a call is made to a virtual function how is proceesed in c++?
As per Wiki:-
A virtual function or virtual method is a function whose behavior, by virtue of being declared "virtual", is determined by the definition of a function with the same signature furthest in the inheritance liniage of the instantiated object on which it is called.
The virtual functions are handled through Virtual Function Pointers %26amp; Virtual Function Table.
Refer the following document for an overview of the same:-
http://www.phpcompiler.org/doc/virtualin...
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment