Abstract
Up to now, we have discussed only data objects for which a variable name corresponds to a single value and a single memory location consisting of one or more bytes, as appropriate for the data type of the variable. In this chapter, we will develop a new model for data representation which allows us to manage many pieces of related information. This important user-defined data object, called an array, is a collection of related values organized under a single name. Although arrays can be implemented as purely abstract entities, in science and engineering they more often serve as implementations for vectors or representations for tabulated data. In this section, we will develop the basic concepts of arrays by posing a specific data management problem and describing a way of organizing the information required to solve that problem.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 1999 Springer Science+Business Media New York
About this chapter
Cite this chapter
Brooks, D.R. (1999). Arrays. In: C Programming: The Essentials for Engineers and Scientists. Undergraduate Texts in Computer Science. Springer, New York, NY. https://doi.org/10.1007/978-1-4612-1484-7_6
Download citation
DOI: https://doi.org/10.1007/978-1-4612-1484-7_6
Publisher Name: Springer, New York, NY
Print ISBN: 978-1-4612-7161-1
Online ISBN: 978-1-4612-1484-7
eBook Packages: Springer Book Archive