Accenture interview question

Just basic c related questions