Why do array subscipts starts with 0 instead of 1?
Answers
Answered by
0
The name of an array is essentially a pointer, a reference to a memory location, and so the expression array[n] refers to a memory location n-elements away from the starting element. This means that the index is used as an offset.
Similar questions