C Public Private Protected Inheritance