题目内容
有以下程序,程序运行后的输出结果是( )#includestructSTU{char name[9];char sex;int score[2];};voidf(struct STU a[]){struct STU b={"Zhao",'m',85,90};a[1]=b;}main(){ structSTUc[2]={{"Qian",'f',95,92},{"SUN",'m',98,99}};f(c);printf("%s,%c,%d,%d,",c[0].name,c[0].sex,c[0].score[0],c[0].score[1]);printf("%s,%c,%d,%d\n",c[1].name,c[1].sex,c[1].score[0],c[1].score[1]);}
查看答案
搜索结果不匹配?点我反馈
更多问题