Array indexing is zero based in C and many programming languages i.e 1st element is at index 0
arr is first element for 1D array
for 2D array
arr[X] is first row
arr[X] is second row
arr is first element in 1st row
Now you should be able to understand this.