i have a 2D integer array called arr.
which is passed into a function as
what1(arr,6,5)
but the signature is of the function is
int what1(int **arr, int m, int n)
so maybe there is a mistake and
it should be what1(&arr,6,5) instead of what1(arr,6,5)
??

