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

CHAPTER 47 — Common Array Algorithms

An array that uses a single subscript is called a one dimensional array. The cells 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:

In a one dimensional array, the cells are accessed using a single index.

QUESTION 1:

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