Accenture interview question

c and cpp basics