Cognizant interview question

OOP concepts, C programs and concepts