Pergunta de entrevista da empresa Reynolds and Reynolds

Given a small snippet of code, had to find hidden bug.