go to home page   go to next page hear noise

revised: 1/19/98, 01/20/00, 07/20/02, 05/27/03, 06/02/06, 07/07/07, 09/26/2010, 08/15/2014

CHAPTER 47 — Common Array Algorithms

Line of boxes, vanishing into the horizon

Chapter Topics:

An array that uses a single subscript is called a one dimensional array. This is because one index is used to access the values in the array. Its cells are like numbered boxes lined up one after the other in a line.

A two dimensional array requires two indexes to access values. Its cells are like boxes arranged into a rectangle. Arrays of even higher dimension are possible, although rarely used. This chapter discusses typical ways to use one dimensional arrays.


How could you print out every element of an array with 100 cells?