Example Program For Single Inheritance In C