Arrays are aggregates of a given fundamental or user-defined data type. An array element is accessed by an index, rather than by name, within a consecutive list of elements. Arrays are the basic tool for handling large amounts of similar data.

The elements of an array can be of any valid type, such, as int, double or a user-defined type. We shall see that an array of characters defines a string. Arrays can be of any dimension, although one- and two-dimensional arrays are the most frequently used when programming.




Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag London Limited 1996

Authors and Affiliations

  • Graham M. Seed
    • 1
  1. 1.Department of Mechanical & Chemical EngineeringHeriot Watt UniversityEdinburghUK

Personalised recommendations