I\'ve made a loop with i as it\'s counter variable.
Inside that loop I\'m comparing cells of an array.
I\'m wondering what\'s the difference between array[i++] (or a
Let's define i=0
, then
i++
will return 0
and afterwards increment i
to 1
++i
will increment i
to 1
and afterwards return 1
ì+1
will not increment i
and return 1
I assume, you don't want to increment i by itself, only add 1 to access an index with a different offset.