negative indexing
English
Noun
negative
indexing
(
uncountable
)
(
programming
)
The use of a
negative
integer
as an
array
offset
to access from the end of the array.
Array[-3]
accesses the 3
rd
element from the end of the array, the same as
Array[ArraySize - 3]
.
See also
array