写出下面程序执行后的运行结果。 #include <stdio.h> struct STU { int num; float TotalSc
已帮助 人
写出下面程序执行后的运行结果。 #include <stdio.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; } int main() { struct STU s[2]={{20041,703},{20042,580}}; f(s[0]); printf("%d %3.0f", s[0].num, s[0].TotalScore); return 0; }

回答
共1条回复-
G [解析]x='f'则'f'-'a'=5,'A'+5+1='G'。对一下ASCⅡ码表就行了。
