摘要:
//编写一个函数print,输出学生的信息,该数组有5个学生的记录,包括://num,sname,score[3],用主函数输入这些记录,用print函数输出这些记录。 #include<stdio.h>#define N 5 //预定义,N代表5个学生 struct student{ int nu 阅读全文
摘要:
#include <stdio.h>void main(){ int array[10]; int *pointer; int i,j,t,max,min,sum=0; double aver; int num1=0,num2=0; pointer=array; //指针指向数组,数组名表示数组的首 阅读全文