title: Confusion about pointers and multidimensional arrays
body: <p>If the following is possible:</p>
  
  <pre><code>MyFunction(int *array, int size)
  {
      for(int i=0 ; i&lt;size ; i++)
      {
          printf(“%d”, array[i]);
      }
  }
  
  main()
  {
      int array[6] = {0, 1, 2, 3, 4, 5};
      MyFunction(array, 6);
  }
  </code></pre>
  
  <p>Why the following is not?</p>
  
  <pre><code>MyFunction(int **array, int row, int col)
  {
      for(int i=0 ; i&lt;row ; i++)
      {
          for(int j=0 ; j&lt;col ; j++)
          {
              printf(“%d”, array[i][j]);
          }
      }
  }
  
  main()
  {
      int array[3][3] = {0, 1, 2, 3, 4, 5, 6, 7, 8};
      MyFunction(array, 3, 3);
  }
  </code></pre>