The disadvantage of an array data structure is __________.

2024

The disadvantage of an array data structure is __________.

Answer: B. The size of an array is fixedThe size of an array is static (fixed), i.e., it must be declared at the time of array creation and cannot be changed later.

  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 1401 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: Coding For Placement

Loading lesson…