I can't seem to write a function that prints a 2-D array
1 2 3 4 5 6 7 8 9 10 11
void print(int a[][], int row, int col)
{
int i, j;
for (i = 0; i < row; i++)
{
for (j = 0; j < col; j++) cout << a[i][j] << " ";
cout << "\n";
}
}
program doesn't compile...