Pergunta de entrevista da empresa GoodMorning.com

What will be the computational complexity of the program? What will be the output of the below program?