0
Intro question
Why is it that in most C programs, there must be the constant 'i' ?,can I replace it?
2 Respostas
+ 8
if you mean the i in for loops
for(int i=0;...)
yes, you can replace it. it's just convention.
but it makes reading the code easier, because it's familiar, you don't have to pause and think about it. so maybe don't change it unless necessary.
+ 1
Thanks