题目内容

有以下程序#include#includetypedef struct stu{charname[10];chargender;intscore;}STU;voidf(STU*c){strcpy(c->name,"Qian");c->gender='f';c->score=350;}main(){STUa={"Zhao",'m',290},b;b=a;f(&b);printf("%s,%c,%d,",a.name,a.gender,a.score);printf("%s,%c,%d\n",b.name,b.gender,b.score);}程序运行后的输出结果是

A. Zhao,m,290,Qian,f,350
B. Zhao,m,290,Qian,m,290
C. Zhao,m,290,Zhao,m,290
D. Zhao,m,290,Qian,m,350

查看答案
更多问题

有以下程序#includetypedef struct stu{charname[10];chargender;intscore;}STU;voidf(STUa,STU*b){a=*b;printf("%s,%c,%d,",a.name,a.gender,a.score);}main(){STUa={"Zhao",'m',290},b={"Qian",'f',350};f(a,&b);printf("%s,%c,%d\n",a.name,a.gender,a.score);}程序运行后的输出结果是

A. Qian,f,350,Qian,f,350
B. Zhao,m,290,Qian,f,350
C. Qian,f,350,Zhao,m,290
D. Zhao,m,290,Zhao,m,290

有以下程序#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);}程序运行后的输出结果是

A. Zhao,m,290,Qian,f,350
B. Zhao,m,290,Zhao,m,290
C. Zhao,m,290,Qian,m,350
D. Zhao,m,290,Qian,m,290

下列对创新思描述正确的是()

A. 创新就是一种行动和思维上的变化
B. 创新思维需要左脑和右脑的共同努力
C. 创新是把一种新的东西作为新事物引 进的行动
D. 创新是以新思维、 新収明和新描述为特征的一种概念化过程

有创新思维的人应该留心自己专 业领域以外的事物。

A. 对
B. 错

答案查题题库