hi ..
the question may sound bit absurd..but answer to it would be of gr8 help to me !!
how can i pass a 2D array to a function whose argument needs a 2D pointer...
e.g.
i want to pass a
Code:
char buff[4][4];
to a function
Code:
void fun(char **inpbuff, int row, int col) {
int i,j;
/*do some operation here on all elements of the array passed. e.g.*/
for(i = 0; i < row; i++)
    for (j = 0; j  <= col; j++ )
        inpbuff[i][j] = 'a' + i + j;
}