An array index can be

Average Rating
0 out of 5 stars. 0 votes.

An array index can be

any expression that evaluates to a nonnegative integerMust always be less than the size of the array