Printing a 2D array in C

Posted by wello horld on Stack Overflow See other posts from Stack Overflow or by wello horld
Published on 2010-04-30T01:23:05Z Indexed on 2010/04/30 1:27 UTC
Read the original article Hit count: 217

how would I print a 2d array in c using scanf for user input, array called grid[ ][ ] and a for loop?

say if the user types in 3 5, the output will be:

.....
.....
.....

© Stack Overflow or respective owner

Related posts about multidimensional-array

Related posts about homework