Cognizant interview question

C and basics of python Oops basics