题目内容
有以下程序,程序的运行处理结果是()#include #include typedef struct {char name[9];char sex;floatscore[2];}STU;void f(STU *a){strcpy(a->name,"Zhao");a->sex='m';a->score[1]=90.0;}main(){STUc={"Qian",'f',95.0,92.0},*d=&c;f(d);printf("%s,%c,%2.0f,%2.0f\n",d->name,c.sex,c.score[0],c.score[1]);}
查看答案
搜索结果不匹配?点我反馈
更多问题