Which of the following initializer lists correctly initializes the indexed variables of an array named myDoubles?
a. double myDoubles[double] = {0.0, 1.0, 1.5, 2.0, 2.5};
b. double myDoubles[5] = new double(0.0, 1.0, 1.5, 2.0, 2.5);
c. double[] myDoubles = {0.0, 1.0, 1.5, 2.0, 2.5};
d. array myDoubles[double] = {0.0, 1.0, 1.5, 2.0, 2.5};
C
Computer Science & Information Technology
You might also like to view...
How does creating dimension in a photograph help to create the illusion of three dimensions in two-dimensional space?
What will be an ideal response?
Computer Science & Information Technology
Variables declared with the Integer, Decimal, and Double data types can store numbers only.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology