Why array index start from 0 ,Is any reason behind it or not??? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 3

Why array index start from 0 ,Is any reason behind it or not???

3rd Sep 2017, 7:12 AM
mohit thakor
mohit thakor - avatar
6 Respostas
+ 7
thats an interesting question
3rd Sep 2017, 7:13 AM
Changed
Changed - avatar
3rd Sep 2017, 10:30 AM
ą¼¼ 恤 ā—•_ā—• ą¼½ć¤
ą¼¼ 恤 ā—•_ā—• ą¼½ć¤ - avatar
+ 9
the index is not really an index . it is simply an offset that is distance from the start of array. the first element is at the start of array so there is no distance therefore the offset is zero //seen from net , hope it helps ā˜ŗ
3rd Sep 2017, 7:16 AM
Changed
Changed - avatar
+ 6
i am not sir , i am student & u r bhaiya for me
3rd Sep 2017, 7:18 AM
Changed
Changed - avatar
- 1
Every numbering system starts with zero.
3rd Sep 2017, 5:54 PM
Aseel Najjar
Aseel Najjar - avatar