- 1
The correct answer is 6
In programming we start counting from 0 but I see 5 is not the correct answer here why?
6 Answers
+ 3
Just fyi, there are some languages (Ada and maybe Pascal?) where array indices start from 1 not 0.
+ 1
@swim I thought the Q and A's are linked to the question, I now see that they are not and I will be sure to be mindful of that in future.
0
The programming language is not that relevant but I see the correct counting way is used in further lessons. @swim