Accenture Interview Question

Background in mechanical engineering. Basic C questions