0
Arrays
doesn't arr[5][5] contains 36 elements?
3 Answers
+ 2
The indices do start at 0, but they end at size - 1. So, arr[5][5] has 5 rows numbered 0 to 4, where each row has 5 values also numbered 0 to 4. Thus, you get 5* 5 = 25 total values.
+ 1
arr [5][5] only gives 25 elements
0
I thought it counted from 0 đ