title: Getting issues for redefinition of functions
body: <p>I'm trying to scan numbers into 2 2D arrays, and I keep on getting the error of redefinition.</p>
  
  <p>The code:</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #define N 3
  
    void getMatrix(double mat[N][N]);
   /*
   char getMenuOption();
   void getCoordinates(int*, int*);
    void sumMatrices(double mat1[][N], double mat2[][N]);
     void changeMatrix(double mat[][N]);
      void printMatrix(double mat[][N]);
  */
  int main() {
  double A[N][N], B[N][N];
  /*
   char option;*/
  getMatrix( A[N][N]);
  getMatrix( B[N][N]);
  /*
  
  option = getMenuOption();*/
  
  return 0;
   }
    void getMatrix(double A[N][N]){
  int i;
  for(i=0;i&lt;=N;i++){
      for(i=0;i&lt;N;i++)
      {
          scanf("%lf",&amp;A[N][N]);
      }
      }
      return;
  
   }
      void getMatrix(double B[N][N]){
       int i;
  for(i=0;i&lt;=N;i++){
      for(i=0;i&lt;N;i++)
      {
          scanf("%lf",&amp;B[N][N]);
      }
      }
  return;
    }
  </code></pre>
  
  <p>I guess the problem is that the same function is called twice, but im not so sure about it.
  If anyone can help me point to the problem, it will be most welcome.</p>