7_Arrays_0
7_Arrays_0
What is an Array?
• is a collection of similar items stored at contiguous memory
locations and share same name space.
• elements can be accessed randomly using indices of an array
• can be used to store collection of primitive data types such
as int, float, double, char, etc of any particular type.
• Int a[9]
What is an Array?