How virtual functions works internally using vTable and vPointer?
In this article we will discuss that how virtual functions in C++ works internally using vTable and vPointer. (more…)
When to use virtual functions in C++?
When we want a Derived Class to override a member function of Base class, then we should make that member function in Base class virtual. So that if someone uses the…