C++ Virtual Functions and Runtime Polymorphism | Studytonight
If a function is declared asvirtualin the base class, it will be virtual in all its derived classes. The address of the virtual Function is placed in theVTABLEand the copiler usesVPTR(vpointer) to point to the Virtual Function. ← Prev ...