有下列程序#include #include typedef struct stu {char name[9];char gender;int score;} STU;void f(STU *a){ STU c={"Sun", 'f', 90},*d=&c;a = d;strcpy(a->name,c.name);a->gender = c.gender;a->score = c.score;printf("%s,%c,%d,", a->name,a->gender, a->score);}main( ){ STU a={"Zhao", 'm', 85};f(&a);printf("%s,%c,%d", a.name,a.gender, a.score);}程序执行后的输出结果是()。
A. Zhao,m,85,Sun,f,90
B. Sun,f,90,Sun,f,90
C. Sun,f,90,Zhao,m,85
D. Zhao,m,85,Zhao,m,85