Step: 4 Brief Discussion
Debugging
Pointing a virtual function:
The functions "void show()" in the derived classes would display
the strings like "Derv1 or Derv2". If we remove virtual keyword, the cursor
will not fetch these functions, and the runtime views of this
application will only print out, "Base", the string
output of the function "void show()" in the "Base" class.