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

A _________ variable is declared outside all functions.

a. local b. global c. floating-point d. counter e. None of these

Computer Science & Information Technology

When the number of repetitions are known in advance, you should use a ___________ statement.

a. while b. do…while c. for d. None of the above

Computer Science & Information Technology

In this example, which operation will be evaluated first?

2 - 1 <= 5 && 9 > 6 * 2 || 0 A. 2 - 1 B. 9 > 6 C. 6 * 2 D. 2||10

Computer Science & Information Technology

Which type of DNS allows the zone information to be stored across multiple domain controllers?

A. Active Directory-integrated zones B. secondary zones C. primary zones D. recursive zones

Computer Science & Information Technology