X hits on this document

147 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 views147
Page views147
Page last viewedWed Dec 07 12:29:32 UTC 2016
Pages63
Paragraphs754
Words4119

Comments