I want to know what the difference is between defining an iteration variable before (outside) the for
statement that uses it, as below...
int i;
for(i=1;...)
...Against defining the variable within the for
statement, as below:
for(int i=1;...)