C++ multi dimensional array function parameter
<p>How can I pass a two or multi dimensional array as a parameter of a function without defining its size??   </p>

<p>Here is my example code:  </p>

<pre><code> void test(int *a) { 
    a[0][0] = 100; 
 } 
 int main()  { 
    int a[2][2]; 
    test(a); 
    cout&lt;&lt;a[0][0]; 
 }
</code></pre>
