Accenture interview question

Background in mechanical engineering. Basic C questions