有以下程序:
#include <string.h>
struct STU
{int num;
float TotalScore;
};
void f(struct STU p)
{struct STU s[2]={{20044,550},{20045,537}};
p.num=s[1].num;p.TotalScore=s[1].TotalScore;
}
main( )
{struct STU s[2]={{20041,703},{20042,580}};
f(s[0]);
printf("%d%3.0t/n",s[0].num,s[0].TotalScore);
}
程序运行后的输出结果是【 】。
题库:计算机等级考试
类型:最佳选择题
时间:2017-07-03 16:13:40
免费下载:《单选题》Word试卷
有以下程序:
#include <string.h>
struct STU
{int num;
float TotalScore;
};
void f(struct STU p)
{struct STU s[2]={{20044,550},{20045,537}};
p.num=s[1].num;p.TotalScore=s[1].TotalScore;
}
main( )
{struct STU s[2]={{20041,703},{20042,580}};
f(s[0]);
printf("%d%3.0t/n",s[0].num,s[0].TotalScore);
}
程序运行后的输出结果是【 】。
A.20045 537
B.20044 550
C.20042 580
D.20041 703
本题关键词:程序,有序镜检,大腿以下或膝以下肌肉瘫痪,工程施工程序,复苏程序,工作程序,建设程序,程序变更,程序冲突,点火程序;