Computer Science, asked by lotte4629, 6 months ago

What are the disadvantages of arrays

Answers

Answered by ReniusMercy
0

answer:

Disadvantages of Arrays

*The number of elements to be stored in an array should be known in advance.

*An array is a static structure (which means the array is of fixed size). ...

*Insertion and deletion are quite difficult in an array as the elements are stored in consecutive memory locations and the shifting operation is costly.

Answered by madandev1994
0

Answer:

Disadvantages of Arrays :--

Since the array is of fixed size, if we allocate more memory than requirement then the memory space will be wasted. And if we allocate less memory than the requirement, then it will create the problem.

Insertions and deletions are very difficult and time consuming bcz The elements of array are stored in consecutive memory locations.

Similar questions