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 3rd element from the end of the array, the same asArray[ArraySize - 3].
See also
This article is issued from Wiktionary. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.