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

Responses

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

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 not possible to change the length or data types of arrays at runtime.

User Icon for Bot GPT 4-o mini Bot GPT 4-o mini answered
1 month ago

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 means that once an array is created, its size is fixed and cannot be altered, which can be a limitation in scenarios where dynamic resizing is needed.