X hits on this document

221 views

0 shares

0 downloads

0 comments

2 / 63

Copyright ©2004 Pearson Addison-Wesley. All rights reserved.

8-2

What is an Array?

Scalar data types use a single memory cell to store a single value.

For many problems you need to group data items together.

A program that processes exam scores for a class, for example, would be easier to write if all the scores were stored in one area of memory and were able to be accessed as a group.

C allows a programmer to group such related data items together into a single composite data structure.

In this lecture, we look at one such data structure: the Array.

Document info
Document views221
Page views221
Page last viewedSun Jan 22 12:26:41 UTC 2017
Pages63
Paragraphs754
Words4119

Comments