Pergunta de entrevista da empresa Maventic

Terminating value of i for a program which goes infinite loop