title: Passing 2-D array as argument
body: <p>I am trying to pass a 2-d array to a function which accept a pointer to pointer. And I have learnt that a 2-d array is nothing a pointer to pointer(pointer to 1-D array). I when I compile the below code I got this error.</p>
  
  <pre><code>#include&lt;iostream&gt;
  
  void myFuntion(int **array)
  {
  }
  int main()
  {
     int array[][]= {{1,2,3,4},{5,6,7,8,9},{10,11,12,13}};
     myFuntion(array);
     return 0;
  }
  </code></pre>
  
  <p><strong>In function 'int main()':
  Line 5: error: declaration of 'array' as multidimensional array must have bounds for all dimensions except the first
  compilation terminated due to -Wfatal-errors.</strong></p>
  
  <p>Can anybody clear my doubt regarding this and some docs if possible for my more doubts.</p>