What are the disadvantages of arrays?

Options

  • A. There are chances of wastage of memory space if elements inserted in an array are lesser than the allocated size
  • B. Elements are sequentially accessed
  • C. Data structure like queue or stack cannot be implemented
  • D. Index value of an array can be negative

Correct Answer (Detailed Explanation is Below)

A. There are chances of wastage of memory space if elements inserted in an array are lesser than the allocated size

Detailed Explanation

Disadvantages of Arrays:

✔ Fixed size → If allocated size is larger than needed, memory gets wasted
✔ Insertion/deletion is costly (shifting required)

OOps! You are currently offline.