Pergunta de entrevista da empresa IBM

There was a question which was a pure c question.