If I have an array that starts at 0.
int table[4][4]={{0,0,0,0},{0,0,0,0},{0,0,0,0},{0,0,0,0}};
Then my program fills the array up with integers.
I ask the user if they would like the program to run again, but I want the array to start at all 0's again. How do re-declare/reset it to 0?
Its not as easy as:
table=0;
I tried:
table[i][j]=0;
but no luck (probably because i have to send it through a loop to increment i and j I think.)...