单项选择题

若有以下程序 typedef struct stu{char*name,gender;int score;} STU; void f(char*p){p=(char*)malloc(10);strcpy(p,"Qian");} main(){STU a={NULL,’m’,290},b; a.name=(char*)malloc(10); strcpy(a.name,"Zhao"); b=a;f(b.name); b.gender=’f’;b.score=350; 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.Qian,f,350,Qian,f,350
C.Qian,m,290,Qian,f,350
D.Zhao,m,290,Zhao,f,350