Transcription: The best way to see the importance of virtual functions is to compare what happens when you override virtual and non-virtual functions. This example shows what happens when a derived class overrides a non-virtual function. The next example shows what happens when a virtual function is overridden.