C Using a n+1 dimentional array as a n dimention array parameter
<p>My question is, when you have an array <code>tab[a][b][c]</code>, are you allowed to use <code>tab[a]</code> as a parameter <code>array[b][c]</code>?  </p>

<p>Here is an example:</p>

<pre><code>void function(int tab[5][6])
{
    tab[4][3]++;
}

int main()
{
    int tab[9][5][6];
    for (int i=0;i&lt;9;i++)
    {
        function(tab[i]);
    }
    return 0;
}
</code></pre>