title: reset a two dimensional array via function in c language windows
body: <p>I want to reset a 2 dimensional board, but I'm not sure how to return a pointer to the array.
  also I think there must be an easier way to reset it but can't find one.</p>
  
  <pre><code>char reset_board(int rows,int columns,char board[rows][columns])
  {
      for(int i = 0;i&lt;rows;i++)
      {
          for(int j=0;j&lt;columns;j++)
          {
                  board[i][j] == ' ';
          }
      }
      return &amp;board[0][0];
  }
  </code></pre>