Array base: Difference between revisions
Content added Content deleted
(New page: Category:Encyclopedia In the context of arrays indexed by integer numbers, the ''base'' is the index of the first element of the array. There exist languages that use 0 as base (like C...) |
(No difference)
|
Revision as of 13:03, 27 April 2009
In the context of arrays indexed by integer numbers, the base is the index of the first element of the array. There exist languages that use 0 as base (like C); others use 1, others allow to specify it (and allow for negative indexes), taking 0 or 1 as default values.