negative indexing

noun

negative indexing

noun
1

Computing, Engineering, Mathematics, Natural sciences, Physical sciences, Programming, Sciences The use of a negative integer as an array offset to access from the end of the array. Array[-3] accesses the 3ʳᵈ element from the end of the array, the same as Array[ArraySize - 3].

Related terms
array

Entry derived from the Wiktionary, under licence CC BY-SA 4.0 — list of authors.