Hi, I'm trying to create a two dimensional array that displays zeroes in a 10 by 10 format. But I don't really know how.
I've been playing around and this is what I have so far:
Code:#include<stdio.h> int main(void) { int my_array[10][10]={0}; int i,j; for (i = 0; i < 10; i++) { for (j = 0; j < 10; j++) { printf("\n%d", my_array[i][j]); } } return(0); }