题目内容
下列程序输出的结果是什么()#includestructstu{charnum[10];floatscore[3];};intmain(){structstus[3]={{"20021",90,95,85},{"20022",95,80,75},{"20023",100,95,90}};structstu*p=s;inti;floatsum=0;for(i=0;i<3;i++)sum=sum+p->score[i];printf("%6.2f",sum);return0;}
查看答案
搜索结果不匹配?点我反馈