Which of the following is the disadvantage of the array?
Answer with explanationAnswer: Option A
The correct answer is Wastage of memory if the elements inserted in an array are lesser than the allocated size
For example, if we have an array of size 10 elements and we have inserted only 5 elements in an array then there is a wastage of 5 memory blocks which cannot be utilized by another variable.
Discuss about the question