1)Can you suggest me how to assign a pre-defined 2-dimensional array to a pointer.The intension here is to pass 2-D array to a funtion so that changes in the function will reflect the 2-D array .
void main(){
int array[40][40];
fun(array);
}
void fun(int **array){ ........}
The above code is giving error as suspecious pointer conversion by the parameter passed, int ** array, in function fun()Pls suggest me the right function parameter along with the usage to access any two numbers ie accessing say array[0][0],array[0][1] in the fuction fun().Waiting for ur answers Yours Raju