logo - 刷刷题
下载APP
【简答题】

fun函数的功能是:首先对a所指的N行N列的矩阵,找出各行中的最大数,再求这N个最大值中最小的那个数并作为函数值返回。请填空。 include <stdio.h> define N 100 int fun(int(*a)[N]) { int row,col,max,min; for(row=0;row<N;row++) { for(max=a[row] [0],col=1;col<N;col++) if(【 】)max=a[row][col]; if(row==0)min=max; else if(【 】)min=max; } return min; }

举报
参考答案:
参考解析:
.
刷刷题刷刷变学霸
举一反三