Which of the following declares an array of 10 elements and assigns the value 5.6 to the first element?

a) float numbers[9]; numbers[0] = 5.6;
b) float numbers[9]; numbers[1] = 5.6;
c) float numbers[10]; numbers[0] = 5.6;
d) float numbers[10]; numbers[1] = 5.6;

c) float numbers[10]; numbers[0] = 5.6;

Computer Science & Information Technology

You might also like to view...

When you turn on Track Changes feature, Word makes a record of the changes made to a document

Indicate whether the statement is true or false

Computer Science & Information Technology

A VMware vSphere 6.x administrator sees the following output in esxtop: What does the %RDY column represent?

a. CPU Utlization b. CPU Ready c. CPU Cycle Wait Percentage d. Idle CPU Percentage

Computer Science & Information Technology