#define N 3
#define M 3
int select(int a[N] [M],int &n)
{int i,j,row = 1,colum = 1;
for(i =0;i<N;i++)
for(j = 0;j<M;j++)
if(a[i][j]>a[row][colum]){row=i;colum=j;}
n=【】;
return【】;
}
main( )
{int a[N][M] ={9,11,23,6,1,15,9,17,20},max,n;
max =select(a, 【】);
printf( "max = % d,line = % d\n",max,n);
}