xxxxxxxxxx
Advantages of array data structure:
Arrays store multiple data of similar types with the same name.
It allows random access to elements.
As the array is of fixed size and stored in contiguous memory locations there is no memory shortage or overflow.
It is helpful to store any type of data with a fixed size.