Which of the following statements declares a one-dimensional array containing two integer values?

A. int numbers[3] = {1, 2, 3};
B. char letters[2] = {‘a', ‘b'};
C. int characters[2] = {45, 87};
D. int ages[6] = {0};


Answer: C

Computer Science & Information Technology

You might also like to view...

Showthat the method of designing horizontal partitions described in Section 16.2.1 works as advertised.

What will be an ideal response?

Computer Science & Information Technology

The main purpose of tabbed windows are:

a) to group controls b) to conserve screen space c) to organize the form d) All of the above

Computer Science & Information Technology

What differences can there be between a complete binary tree and a full binary tree?

What will be an ideal response?

Computer Science & Information Technology

Answer the following statements true (T) or false (F)

Ext3 is a journaling version of Ext2 that has a built-in file recovery mechanism used after a crash.

Computer Science & Information Technology