0
How to print value using 2D array with for loop, give me an example with program.
3 odpowiedzi
+ 1
Just iterate over all the arrays inside
0
Use a nested for-loop. The outer loop going through the 1st dimension of the array and the inner loop going through the 2nd dimension.
0
Example is hard to give not knowing the language (and not seeing any attempt)