revised 11/25/99, 12/03/99, 01/24/00, 07/20/02, 05/27/03

CHAPTER 47 — Common Array Algorithms

An array that uses a single subscript is called a one dimensional array. The slots of the array can be thought of as lined up one after the other in a line. Two dimensional arrays, three dimensional arrays, and higher dimensional arrays also exist. This chapter discusses typical ways in which one dimensional arrays are used.

Chapter Topics:

The slots of an array are often called elements. In a one dimensional array, the elements are accessed using a single index.


How (in general) could you print out every element of an array with 100 elements?