How to pass a two dimensional array to a function in c++
<p>I am trying to pass an array (2d) to a function as an parameter.
I have a code as follows:</p>

<pre><code>int main()
 {
  float T[100][100];
  void set_T(float T[][]);
}


void set_T(float T1[][])
{


  for (int i =0 ; i&lt;90;i++)
  {
      for(int j =0 ;j &lt;90;j++)
      {
          T1[i][j] = 3;
      }
  }

}
</code></pre>

<p>I am not sure how to pass array to a function ...I am getting lot of errors. Can any one help please.</p>
