Duplicate of:
Why did the computer programming inventors have the brilliant idea of making arrays start with index zero and leave us all doing myArray.length()-1
when they knew that the logical thing would be to have the index start from 1?
Is it some sort of backwards compatibility due to which all (even modern) languages have arrays start from 0, or is there actually any logic behind this?