Passage Three Questions 33 to 35 are based on the passage you have just heard.
A. They will benefit from practicing "green" farming.
B. They will benefit from use of less chemicals.
C. They will benefit from fair distribution of their crops.
D. They will benefit from using more crops for fuel.
已知学生的记录由学号和学习成绩构成,N名学生的数据已存入a结构体数组中。请编写函数fun(),该函数的功能是;找出成绩最高的学生记录,通过形参返回主函数(规定只有一个最高分)。已给㈩函数的首部,请完成该函数。 注意:部分源程序给出如下。 请勿改动主函数main和其他函数中的任何内容,仅在函数fun的花括号中填入所编写的若干语句。 试题程序: #include<stdio.h> #include<string.h> #include<conio.h> #define N 10 typedef struct ss /*定义结构体*/ char num[10]; int s; STU; fun(STU a[], STU *s) main ( ) STU a[N]= "A01",81, "A02",89, "A03",66, "A04",87, "A05",77, "A06",90, "A07",79, "A08",61, "A09",80, "A10",71,m; int i; clrscr (); printf("*****The original data*****"); for (i=0; i<N; i++) printf("No=%s Mark=%d\n", a[i].hum, a[i].s); fun (a, &m); printf ("*****THE RESULT*****\n"); printf("The top :%s, %d\n",m.num, m.s);