6

Arrays

CHAPTER OUTLINE
6.1 DEFINITION OF AN ARRAY

An array is a collection of multiple elements which has same type of data. Array stores homogeneous (same data type) data contiguously in memory, and that too under one variable name, i.e. single name is assigned to the entire array elements. It stores either all integers or all floating point numbers or all characters.

Its data items can be called as element. One can access individual ...

Get C Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.