debug a bug in c++ code or eclipse
<p>i have this code but eclipse release error on return line but i know that int array[][] is same type by int **  </p>

<pre><code>int ** Master::what_can_choose()
{
array_can_choose[9][2]={0};
board[3][3]={{' ',' ','x'},{' ','o',' '},{'x',' ',' '}};
int x=0;
for (int i=0;i&lt;3;i++)
{
    for (int j=0;j&lt;3;j++)
    {
    if (board[i][j]==' ')
        {
        array_can_choose[x][0]=i;
        array_can_choose[x][1]=i;
        x+=1;
        }
    }
}
return array_can_choose;
}
</code></pre>

<p>why this error is released</p>

<pre><code>error is: cannot convert `int (*)[2]' to `int**' in return
</code></pre>
