##### program gives output "Gate2016"

Arul
17 Dec 2015 12:14 am

Answer should be D, as Tushar has pointed out.

i is not declared.

tushar
16 Dec 2015 11:01 pm

i is not declared so a compile time error will be generated

sanjay
15 Jul 2017 08:07 pm

As i is not declared,it will generate a compile time error