User Tools

Site Tools


array

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
array [2006/03/21 16:01] – created smashtvarray [2007/11/17 17:58] (current) – removed smashtv
Line 1: Line 1:
-1.An array is a collection of elements, all of the same data type, given a single name, and stored in adjacent memory locations. The subscript (or index) must have an integral value. In most (but not all) programming languages, the first array element always has subscript 0. The second array element has subscript 1, etc. When allocated, the elements are automatically initialized to 0 for numeric primitive-data-type values, to false for boolean variables, or to null for references (non-primitive type values). Arrays make the mathematical process of searching and sorting data much easier for programmers. 
- 
  
array.1142956894.txt.gz · Last modified: 2006/10/15 09:35 (external edit)