Advertisement

Abstract

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.

Keywords

Memory Model Array Element Array Size Function Argument Static Array 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

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