Why arrays always started from index 0? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why arrays always started from index 0?

17th Sep 2017, 3:04 PM
Zohaib 👑
Zohaib 👑 - avatar
4 Answers
+ 3
That's the way it is!
17th Sep 2017, 3:08 PM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar
+ 2
programmer starts count from zero. why? because in base 10 numbering(decimal number) the starting number is 0 to 9. 10 is not a primitive numbering because 10 is the combination of 1 and 0
17th Nov 2017, 11:55 PM
Isfa Hany
Isfa Hany - avatar
0
Ask the creator
14th Nov 2017, 4:17 AM
Muhammad Hisyam Zayd
Muhammad Hisyam Zayd - avatar