12.06.2015, 16:19
I am currently not understanding why it's giving me this result when looping through 4 numbers;
The output:
What I need/want to see is:
Is there anyone that can help me on this issue I am facing?
Код:
new numbers[5]; /// numbers = "1234"; for(new i = 0; i < 4; i ++) { printf("%i - %s", i, numbers[i]); }
Код:
[18:18:34] 0 - 1234 [18:18:34] 1 - 234 [18:18:34] 2 - 34 [18:18:34] 3 - 4
Код:
0 - 1 1 - 2 2 - 3 3 - 4