题目内容
有以下程序#include#includetypedef struct stu{charname[10];chargender;intscore;}STU;voidf(char*name,char*gender,int*score){strcpy(name,"Qian");*gender='f';*score=350;}main(){STUa={"Zhao",'m',290},b;b=a;f(b.name,&b.gender,&b.score);printf("%s,%c,%d,",a.name,a.gender,a.score);printf("%s,%c,%d\n",b.name,b.gender,b.score);}程序运行后的输出结果是
查看答案
搜索结果不匹配?点我反馈