+ 1

Arrays what's the size of 5??

I only got from 1-4?

15th Aug 2018, 12:12 AM
Tracy-lee Creigh-Smith
Tracy-lee Creigh-Smith - avatar
2 Answers
+ 13
Array indexes start counting from 0. An array of size 5 has indexes 0, 1, 2, 3, and 4, which is 5 items total.
15th Aug 2018, 1:26 AM
Tamra
Tamra - avatar
+ 2
Can you explain your question more or show the code with the problem?
15th Aug 2018, 12:50 AM
Alquen
Alquen - avatar