题目内容
有以下程序#include struct STU{ char name[10];int num;};void f1(struct STU c){ struct STU b={"LiSiGuo",2042};c=b;}void f2(struct STU *c){ struct STU b={"SunDan",2044};*c=b;}int main(void){ struct STU a={"YangSan",2041},b={"WangYin",2043};f1(a);f2(&b);printf("%d %d",a.num,b.num);return 0;}
查看答案
搜索结果不匹配?点我反馈