Array (data structure): Difference between revisions

Content deleted Content added
m Uses: disambig string
No edit summary
Line 2:
 
Most [[programming language]]s have arrays as a built-in data type. Some programming languages (such as [[APL programming language|APL]] and [[J programming language|J]]) generalize the available operations and functions to work transparently over arrays as well as scalars, providing a higher-level manipulation than most other languages, which require loops over all the individual members of the arrays.
 
Simply put, an array is a block of consecutive memory locations of the same data type.
 
== Advantages and disadvantages ==