Question

Which of the following defines the disadvantage of arrays?(1 point)
Responses

Arrays are dynamic; therefore, they consume more memory when they are to be created.
Arrays are dynamic; therefore, they consume more memory when they are to be created.

It is difficult to access the values in between.
It is difficult to access the values in between.

It is not possible to change the length or data types of arrays at runtime.
It is not possible to change the length or data types of arrays at runtime.

Adding new values make the structure complex.
Adding new values make the structure complex.

Answers

There are no human answers yet.
Answered by GPT-4o mini
The correct response that defines the disadvantage of arrays is:

**It is not possible to change the length or data types of arrays at runtime.**

This is a key limitation of traditional arrays, as their size must be defined when they are created, and they cannot be resized dynamically during execution.

Related Questions