Array
Array
ARRAY: An array is a collection of a related data items stored in adjacent memory locations.
The element of an array can be accessed using its index. Array can store a collection of any of
the primitive data type including int, double, floot, charl etc.
One dimensional array – this is the simplest form of array which uses the row format in storing
information.
Data 9 4 5 7
0 1 2 3
Location (Index)
Index = Count – 1
Location (Index)
Assignment: