title: function with arrays with 2 dimensions in c++
body: <p>I have a function to multiply arrays. The function is <code>multiply</code>:</p>
  
  <pre><code>void multiply(int array1[][], array2[][]);
  </code></pre>
  
  <p>But it doesn't work.</p>
  
  <p>for example I have to arrays</p>
  
  <pre><code>int array1[4][10]
  int array2[10][6]
  multiply(arra1[4][10], array2[10][6])
  </code></pre>
  
  <p>But it doesn't works.</p>
  
  <p>I need call de function with any size.</p>
  
  <p>later I need to call the function with:</p>
  
  <pre><code>int array3[5][5]
  int array4[5][5]
  multiply(arra1[5][5], array2[5][5])
  </code></pre>
  
  <p>How do I get the arrays in the function?</p>
  
  <p>multidimensional array must have bounds for all dimensions except the first </p>
  
  <p>And i need variable rows and variabloe columns</p>