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...

A flash drive is also called a:

A) floppy disk. B) hard drive. C) USB drive. D) local C: drive.

Computer Science & Information Technology

Depending on the options that were selected upon the installation of Excel, you may have to manually install the ________ add-in

Fill in the blank(s) with correct word

Computer Science & Information Technology