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}};
Correct Answer:
Verified
Q21: Consider the following statement: int alpha[25][10];.Which of
Q22: Which of the following correctly declares name
Q23: Consider the following declaration: int alpha[5] =
Q24: Consider the following declaration:char charArray[51]; char discard;
Assume
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents