Virtual keyword determines if a member function of a class can be over-ridden in its derived classes. Here is a simple example to show this.
Virtual keyword determines if a member function of a class can be over-ridden in its derived classes. Here is a simple example to show this.