title: Invalid Conversion from 'int' to 'int(*)[3]' c++
body: <p>I'm getting <code>[Error] invalid conversion from 'int' to 'int(*)[3]' [-fpermissive]</code> in a few spots of my code. This snippet in particular has that error</p>
  
  <pre><code>void getSquare(int square[3][3]){
  
      int column;
  
      for (int i = 0; i &lt; 3; i++)
      {
          for (int j = 0; j &lt; 3; j++)
          {
              cout &lt;&lt; "Please enter a number between 1 and 9" &lt;&lt; endl;
              cin &gt;&gt; column;
              cout &lt;&lt; endl;
              square[i][j] = square[i][column];
          }
      }
  }
  </code></pre>
  
  <p>This code is designed to take in 9 numbers and store them in a [3][3] array, I might have this completely wrong but let me know!</p>
  
  <p>Here is how the code is being called for those of you who asked</p>
  
  <pre><code>int main(){
      int magicSquare[3][3];
      getSquare(magicSquare[3][3]);
      checkSquare(magicSquare[3][3]);
  if (checkSquare(magicSquare[3][3]) == true)
      {
      cout &lt;&lt; "Yes!"
      }
  if (checkSquare(magicSquare[3][3]) != true)
      {
      cout &lt;&lt; "No!"
      return 0;
      }
  </code></pre>