填空题
以下程序的运行结果是( )。#include struct STU{char name[9]; char sex; int score[2]; } ;void f(struct STU a[ ]){struct STU b = { "zhao", 'm', 85, 90} ;a[1] = b;}int main(void){struct STU c[2] = { {"Qian", 'f', 95, 92"}, {"Sun", 'm', 98, 99} };f(c);printf("%s,%c,%d,%d,", c[0].name, c[0].sex, c[0].score[0], c[0].score[1] );printf("%s,%c,%d,%d", c[1].name, c[1].sex, c[1].score[0], c[1].score[1] );return 0;}
套餐购买该问题答案仅对会员开放,欢迎开通会员 ¥ 19.9
0.64/天
1个月(不限次)
¥ 19.9
1000次
(不限时)
¥ 29.9
0.32/天
3个月(不限次)
¥ 59.9
0.16/天
1年(不限次)
立即支付