Answer:
The answer is "Option D".
Step-by-step explanation:
In the given code an array that is "array1" is declared that stores double value because its data type is double. This array stores 10 element, that is equal, and between 0 to 9, because array indexing always starts from 0. In the given array declaration code all options are correct, that can be described as follows:
- In option A, It is correct, because all element stores double value.
- In option B, It is correct, because the size of the array is 10.
- In option C, It is also correct, because it ranges between 0 to 9.