+ 1
C programming
Hey everyone can anyone tell me the reason why the indexing of array is start with 0
2 Answers
+ 1
Every element in an array has a certain 'length', for example 1 byte.
Imagine a cm measure: The first cm starts at 0 and ends at 0.9999, the second cm starts at 1 and ...
(I know it doesn't explain the why, but it helped me in the beginning to get a feeling for it.)