+ 1
Why indexing of arrays always start from zero??
2 Respostas
+ 1
In C, the index is the 'distance' away from the starting element in the array.
The first element is that location, so, it starts at 0.
Probably some nice mathematical reasons too, but that's a reason with definition.
Java bases most syntax from C, so stuck with it.
0
it is easier to increment and decrement u will see its benefit after using loops several time.