fun( )函数的功能是首先对a所指的N行N列的矩阵,找出各行中的最大的数,再求这N个最大值中 的最小的那个数作为函数值返回,请填空。
#include<stdio.h>
#define N 100
int fun(int( * a)[N])
{ in(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;
}
题库:计算机等级考试
类型:填空题
时间:2017-07-03 17:08:36
免费下载:《填空》Word试卷
fun( )函数的功能是首先对a所指的N行N列的矩阵,找出各行中的最大的数,再求这N个最大值中 的最小的那个数作为函数值返回,请填空。
#include<stdio.h>
#define N 100
int fun(int( * a)[N])
{ in(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;
}
本题关键词:最大超标倍数,价值指数,功效函数图,n菜,N实,N石,N-苷,最小公倍数法,功能指数,个体指数;