Professional Documents
Culture Documents
Advantages and Disadvantages of Array PDF
Advantages and Disadvantages of Array PDF
Advantages:-
Disadvantages:-
1. Size Limit: We can store only the fixed size of elements in the array. It
doesn’t grow its size at runtime. The array is static structure. It means
array size is always fixed, so we cannot increase or decrease memory
allocation.
2. We have to declare Size of an array in advance. However, we may not
know what size we need at the time of array declaration.