negative indexing

From Wiktionary, the free dictionary
Jump to navigation Jump to search

English

[edit]

Noun

[edit]

negative indexing (uncountable)

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

See also

[edit]