Advertisement

Arrays

  • Joés M. Garrido
Chapter

Abstract

An array is a static data structure that can store multiple values of the same type. These values are stored using contiguous memory locations with the same name. The values in the array are known as elements. Arrays can be used to store and manipulate a large number of values of the same type. This mechanism provides the ability to handle large number of values in a single collection and to refer to each value with an index. An integer value or variable known as index is used to access a particular element of the array. The values of the index start from zero and it represents the relative position of the element in the array. Figure 11.1 shows an array with 10 elements.

Keywords

Binary Search Class Point Linear Search Return Type Type Float 
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 US 2009

Authors and Affiliations

  1. 1.Department of Computer & Information SystemsKennesaw State UniversityKennesawUSA

Personalised recommendations