Which of the following are False with respect to the manipulation of arrays?
Select one or more:
O An array can store homogenous data.
It is possible to increase the size of the array
O It is possible to sort the elements of an array
O An array can store heterogeneous data
Answers
Answered by
14
Answer:
An array can store haterogeneous data
Answered by
0
Answer:
The following claims are untrue:
O You can order the components of an array.
O An array can store heterogeneous data(Choices 3 and 4)
Explanation:
- An array cannot have its size increased. However, you can create a new array of a different size, copy the items to the new array, and use the new reference.
- In an array, only homogeneous data can be kept. It is necessary to use union in C/C++ to store heterogeneous data. You will need to convert the array type back to the intended type because it will be homogeneous, the same as the union type.
#SPJ3
Similar questions