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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!