Question: How could I traverse every element in an array A declared like this int A[2][3]; int i, j,k; Question 8 options: A. for (i=0; i
How could I traverse every element in an array A declared like this
int A[2][3];
int i, j,k;
Question 8 options:
| A. for (i=0; i<3; i++) for (j = 0; j<2; j++) // code | |
| B. for (i=0; i<2; i++) for (i = 0; i<3; i++) // code | |
| C. for (i=0; i<2; i++) for (j = 0; j<=2; j++) // code | |
| D. for (i=0; i<2; i++) for (j = 0; j<=3; j++) // code |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
