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

In ____ arrays, each element in one array is associated with the element in the same relative position in the other array.

A. parallel B. related C. grouped D. combined

Computer Science & Information Technology

When you decrease the decimal places that display in a cell, Excel rounds the value stored in that cell and uses the rounded value in calculations

Indicate whether the statement is true or false

Computer Science & Information Technology

If sound does not output from the computer, check the _______ control in the Windows notification area to ensure that sound is not muted

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which of the following is the most secure form of IEEE 802.1x authentication?

A. approved authentication B. authenticator-based authentication C. spectrum-based authentication D. certificate-based authentication

Computer Science & Information Technology