saving . . . saved ARRAY BASIC QUESTION has been deleted. ARRAY BASIC QUESTION has been hidden .
Why array indices start from 0 index?

C-and-Cpp Arrays 01-02 min 10-20 sec 17-03-17, 2:55 p.m. PRAB590


Arr[0] base array element
20-03-17, 8:14 a.m. Rohitmanral777

The real reason why array index starts at zero goes back to the original creator of C language. It is actually related to how C language sees memory and elements placed in it. It uses these index to actually calculate where in memory that particular item is. If you are not interested in the math behind the calculation then just assume that it is easier to calculate the location of first element by using a zero based index ( however many C veteran can still argue that using a 1 for starting index is equally good). So it is just a design choice that C language creator made ( and were happy with it). I hope it helps.
23-03-17, 5:48 p.m. nishchalsharma

Log-in to answer to this question.