What do you think will be the output of this code? If you're not sure, try it.
Also you might want to try this code so that you can see why I said i=5:
for (i=0; i<5; i++)
printf("Inside loop, i=%d\n",i);
printf("After loop, i=%d\n",i);