C++ Program to demonstrate example of Polymorphism