The disadvantage of an array data structure is __________.
2024
The disadvantage of an array data structure is __________.
- A.
It is a dynamic data structure
- B.
The size of an array is fixed
- C.
It allows random access
- D.
All of the above
Attempted by 975 students.
Show answer & explanation
Correct answer: B
The size of an array is static (fixed), i.e., it must be declared at the time of array creation and cannot be changed later.