#include
#define M 3
#define N 4
void fun(int (*a)[N]);
void main()
{ int x[M][N],i,j;
printf("Enter number for array:\n");
for(i=0; i
for(i=0; i
}
fun(x);
}
void fun(int (*a)[N])
{ int i=0,j,find=0,rmax,c,k;
while( (i
for(j=1; j
rmax=a[i][j]; c= j ; }
find=1; k=0;
while(k
if (k!=i && a[k][c]<=rmax) find= 0 ;
k++;
}
if(find) printf("find: a[%d][%d]=%d\n",i,c,a[i][c]);
/**********found**********/
i++ ;
}
if(!find) printf("not found!\n");
}
/****************
1. j
2. 0
3. i++
***************/