NIST

0-based indexing

(definition)

Definition: Indexing (an array) beginning with 0.

Aggregate parent (I am a part of or used in ...)
array.

See also one-based indexing.

Note: That is, an array A with n items is accessed as A[0], A[1], ..., A[n-1].

Author: PEB


Go to the Dictionary of Algorithms and Data Structures home page.

If you have suggestions, corrections, or comments, please get in touch with Paul Black.

Entry modified 6 July 2006.
HTML page formatted Mon Feb 2 13:10:40 2015.

Cite this as:
Paul E. Black, "0-based indexing", in Dictionary of Algorithms and Data Structures [online], Vreda Pieterse and Paul E. Black, eds. 6 July 2006. (accessed TODAY) Available from: http://www.nist.gov/dads/HTML/zeroBasedIndexing.html