Does an array start from zero in every programming language? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Does an array start from zero in every programming language?

30th Dec 2016, 3:01 PM
Okezie Chiedozie
Okezie Chiedozie - avatar
3 Answers
+ 3
can't say in every , but almost everyone uses arrays (or index) starting from 0.
30th Dec 2016, 3:05 PM
Nahuel
Nahuel - avatar
+ 3
thanks bro
30th Dec 2016, 3:06 PM
Okezie Chiedozie
Okezie Chiedozie - avatar
+ 2
computers start counting at 0, unless the languages specifically alters how counting happens - all languages start at 0.
30th Dec 2016, 4:32 PM
Louis Milotte
Louis Milotte - avatar