I am trying to make a function such as
void resetGrid(int grid[gridSize])
The function needs to input the 2-D array and then set each of the values to zero. I know this should be a simple double 'for' loop but what I can't figure out is how far the 'for' loop for the rows should go since the length is unknown. Anyone have any ideas? Thanks for your help in advance.