What is an array and how is it used for?



An array is a data container which holds a fixed length of elements of homogeneous data type. It is used to store the elements of the same datatype.


Advertisements