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
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 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.
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.