The disadvantage of an array data structure is __________.

2024

The disadvantage of an array data structure is __________.

  1. A.

    It is a dynamic data structure

  2. B.

    The size of an array is fixed

  3. C.

    It allows random access

  4. 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.

Explore the full course: Cocubes Preparation