Array is a collection similar type of data.The type of the elements of the array is called the base type of the array; the number of elements it holds is a fixed attribute called its length . All primitive and reference types array was supported in C++.
In array we need to store a some data, which is "id" or something value which is same type we can take help of the array,and make your array size is fixed in C++, so we can't like whatever the size you given for the C++ that much value we can store only so those are the limitations of array also.