
已解决问题
谷歌meizhougus..用户在2018.01.03提交了关于“沃尔沃s801、编写一函数print(),打印一个学生的成绩数组,该数组中有5个学生的**记录,每个记录包括”的提问,欢迎大家涌跃发表自己的观点。目前共有1个回答,最后更新于2025-02-27T09:14:15。希望大家能够帮助她。详细问题描述及疑问:期待您的答案,滴水之恩,来日我当涌泉相报 !
详细问题描述及疑问:期待您的答案,滴水之恩,来日我当涌泉相报 !
#include
structstudent{
int**m;
intscore[3];
charname[10];
};
voidprint(conststructstudent*stud,constintn)
{
inti,j;
for(i=0;i printf("**m:%d\n",stud[i].**m); printf("name:%s\n",stud[i].name); for(j=0;j<3;++j){ printf("score%d:%d\n",j+1,stud[i].score[j]); } } } intmain(void) { structstudentstud[5]={}; print(stud,5); return0; } 学生**你自己填,可以将就用一下