The line of code that will declare an array and initialize it is:

a) int list [6] = {4, 7, 8, 2, 9, 5};
b) int list [6] {4, 7, 8, 2, 9, 5};
c) int list [6] = (4, 7, 8, 2, 9, 5);
d) int list [6] (4, 7, 8, 2, 9, 5);

a) int list [6] = {4, 7, 8, 2, 9, 5};

Computer Science & Information Technology

You might also like to view...

When a selection is saved to the Quick Parts Gallery, it is assigned to the:

a. Normal category b. General category c. Building Block category

Computer Science & Information Technology

Which part of the Ethernet address is assigned to vendors to identify the equipment manufactured by them?

A) First two bytes B) Last byte C) First three bytes D) Last three bytes E) Second and third bytes

Computer Science & Information Technology