title: How can a function acces a matrix?
body: <p>I have a function,and a matrix declared above it.</p>
  <pre><code>int M[100][100];
  int function(int row , int col)
  {
   if (M[row][col] == 1)return 1;
   return 0;
  }
  </code></pre>
  <p>My question is,how can the function acces the matrix if i don't pass it as a parameter,like:</p>
  <pre><code>int function(int row , int col , int X[][100])
  </code></pre>
  <p>Thank you.</p>