Single Inheritance In C Code