Which of the following correctly declares and initializes alpha to be an array of four rows and three columns with the component type int?

A. int alpha[4][3] = {{0,1,2} {1,2,3} {2,3,4} {3,4,5}};
B. int alpha[4][3] = {0,1,2; 1,2,3; 2,3,4; 3,4,5};
C. int alpha[4][3] = {0,1,2: 1,2,3: 2,3,4: 3,4,5};
D. int alpha[4][3] = {{0,1,2}, {1,2,3}, {2,3,4}, {3,4,5}};

Answer: D

Computer Science & Information Technology

You might also like to view...

A field is also called a ____.

A. column B. row C. table D. record

Computer Science & Information Technology

When an HTML file is linked to other files necessary to display the page content, these files are called connected files.

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

Computer Science & Information Technology