Quote:
Originally Posted by RyDeR`
No, you're wrong - we first subtract than assign so it will always have 1 less. If you print this:
pawn Code:
while(strLen--) // strLen is assigned to 10 printf("%d", strLen);
Then you'll see that this will give
Code:
9
8
7
6
5
4
3
2
1
0
which is actually safe.
|
But string[9] should be 0