Pass variable in form int[][] into method with type int**
<p>I have a two dimensional array of integers and a function that retrieves a particular column from that two dimensional array. The function has an int** as a parameter. How can I create a int** to point to my int[][].</p>

<pre><code>int* getColumn(int **matrix, int rows, int column, int columnNum)
{
    ...
}

int main()
{
    int mat[2][2];
    mat[0][0] = 1;
    mat[0][1] = 2;
    mat[1][0] = 3;
    mat[1][1] = 4;

    getColumn( ? , 2, 2, 1);
}
</code></pre>