#include<stdio.h>
#define row 3
#define col 4
int main()
{
int list[row][col]={458,45,555,458,55,6454,45,89,55,68,6969,222};
int* tmp=list[0];
int num=sizeof list/sizeof(int);
int i=0,j=0;
while (1)
{
if (*(tmp+i)>*tmp) {*tmp=*(tmp+i);j=i;}
i++;
if(i>=num) break;
}
printf("数组中最大值是=%d 其下标是 (%d,%d)\n",*tmp,j/col,j%col);
return 0;
}