+ 2
Why array indexing start from 0 ?
5 Answers
+ 13
"Should array indices start at 0 and 1? My compromise of 0.5 was rejected without, I thought, second consideration." - Stan Kelly-Bootle
+ 7
It's an old tradition, but remember it derives from the BASE 10 number system where 0 will always be the first number to count from - in this modern day and for sometime now we tend to start counting from 1 ignoring poor old ZERO.
Base-10: 0 1 2 3 4 5 6 7 8 9
+ 6
that is a rule
+ 1
because it does. simple and plain as that, just follow the standards that have already been made.