Why does this C Program print "10" five times?
#include<stdio.h>
int main()
{
int i;
for(i=0;i<5;i++)
{
int i=10;
printf("%d",i);
}
return 0;
}
why this program prints 10 ,..5 times...the value of i will be changed after a single time operation, in for loop.....?