Possible Duplicate:
How do I pass a reference to a two-dimensional array to a function?
I have the following two dimensional array and I was trying to pass it by reference to a function:
char table_[ROWS][COLUMNS];//ROWS AND COLUMNS are constants
void op_table_(char table_, int ROWS, int COLUMNS)
{
for(int i=0;i<ROWS;i++)
for(int j=0;j<COLUMNS;j++)
table_[i][j]=0;
}
but it is not working