问题
单项选择题
有以下程序:
#include <string.h>
struct STU
int num;
float TotalScore;;
void f(struct STU p)
struct STU s[2]=126,55,125,90;
p.num=s[1].num; p.TotalScore=s[1].TotalScore;
main()
struct STU s[2]=123,76,124,80;
fs[0]);
printf("%d %3.0f\n",s[1].num,s[1].TotalScore);
程序运行后输出的结果是( )。
A.123 76
B.126 55
C.124 80
D.125 90
答案
参考答案:C