(2 marks) (C Given the following CH program that inputs and assigns values into three 2-D arrays A, B, and C. Determine
Posted: Sun May 15, 2022 1:54 pm
(2 marks) (C Given the following CH program that inputs and assigns values into three 2-D arrays A, B, and C. Determine the value in arrays A, B, and C at line 24. You can write the answer of the array in the form of a matrix, for example, 11 2 31 M = 5 6 8 4 7 9 1 2 3 #include<iostream> using namespace std; int main() 7 int m = 3; int A[m] [m] = 0; int B[m] [m+1] int C[m+1] [m] = []; 9 10 11 12 13 int counter = 0, k = 2; NNNNNNHEHEEEE PHOWNP in W NOOO OUT WNE 14 15 16 17 18 19 20 for (int i=1; i<=m; i++) { for(int j=1; j<=m; j++) { A[i-1][i-1] = counter; B[j] = counter; C[j-1][i-1] = k; 1 counter++; k+=3; 21 22 23 24 25 //Determine the value in array A, B, & C return 0;