negative indexing

Noun.  (context, 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].

This is an unmodified, but possibly outdated, definition from Wiktionary and used here under the Creative Commons license. Wiktionary is a great resource. If you like it too, please donate to Wikimedia.

This entry was last updated on RefTopia from its source on 3/20/2012.