- 1

The correct answer is 6

In programming we start counting from 0 but I see 5 is not the correct answer here why?

25th Jul 2019, 7:24 AM
Vuyo
Vuyo - avatar
6 Answers
+ 3
Just fyi, there are some languages (Ada and maybe Pascal?) where array indices start from 1 not 0.
25th Jul 2019, 10:15 AM
Sonic
Sonic - avatar
+ 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.
25th Jul 2019, 8:48 AM
Vuyo
Vuyo - avatar
0
The programming language is not that relevant but I see the correct counting way is used in further lessons. @swim
25th Jul 2019, 8:36 AM
Vuyo
Vuyo - avatar