title: declaring a function with arrays
body: <p>First of all, im a c++ noob! Ok with that being said, i need to declare a function that initializes a grid. The function takes an array of int as the input and needs to return an array of <code>int</code>. I have:</p>
  
  <pre><code>array&lt;int&gt; InitializeGrid (array&lt;int&gt;)
  {
      const int NB_ROWS = 10;
      const int NB_COLUMN = 10;
      const int WATER = 0;
  
      int grid[NB_ROWS][NB_COLONN];
  
  
      for (int i = 0; i &lt; NB_ROWS; i++)
      {
          for (int j = 0; j &lt; NB_COLONN; j++)
          {
              grid[i][j] = WATER;
              cout &lt;&lt; grid[i][j] &lt;&lt; " ";
          }
          cout &lt;&lt; endl;
      }
      return ??
  }
  </code></pre>