[应用题,8.8分] fun函数的功能是:首先实现在N行M列的二维数组a中,找出各行中的最大的数,再求这N个最大值中的最小的那个数作为函数值返回。请填空。 #define N 5 int fun(int a[N][N]) {int row,col,max,min; for(row=0;row<> {for(max=[ ],col=1;col<> if([ ]) max=a[row][col]; if(row==0) min=max; else if([ ]) min=max; } return min; }
|