Question
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.
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.
Answers
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 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.
**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.
There are no human answers yet. A form for humans to post answers is coming very soon!