题目内容

有以下程序: #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

查看答案
更多问题

阅读下面短文,从短文后所给各题的四个选项([A]、[B]、[C]和[D])中选出能填入相应空白处的最佳选项。 Some students at the Open University left school 20 years ago. (36) are younger but all must be at least 21 years old. This is one example of (37) the Open University is different (38) all the others. Its students must (39) work fulltime or be at home all day. They do not have to (40) any examinations before they are (41) . This is why the university is called "open". It was started (42) order to help people who (43) having a university education when they were young. The first name (44) the open university was "the University of the Air". The idea was to teach (45) the air, in other (46) , on radios and the television. (47) of the teaching is done like this. The student also receives (48) at one of 283 study centers in the country. He must also (49) three weeks every summer as a (50) student. Tutors and students (51) and study together, (52) in other universities. At the end of the Open University’s first year, the (53) were good; three (54) of four students passed their examinations. (55) they do this every year, they will finish their studies in four or five years.

A. pay
B. spare
C. take
D. spend

以下程序用于判断a、b、c能否构成三角形,若能,输出YES,否则输出NO。当给a、b、c输入三角形三条边长时,确定a、b、c能构成三角形的条件是需同时满足三个条件:a+b>c,a+c>b,b+c>a。请填空。 main() {float a,b,C; scanf("%f%f%f",&a,&b,&c); if(【 】)printf("YES\n");/*a、b、C能构成三角形*/ else printf("NO\n");/*a、b、C不能构成三角形*/ }

有以下程序 #include main() {char c1,c2,c3,c4,c5,c6; scanf("%c%c%c%C",8az1,&z2,&c3,&c4); c5=getchar();c6:getchar(); putchar(c1);putchar(c2); printf("%c%c\n",c5,c6); } 程序运行后,若从键盘输入(从第l列开始) 123 45678 则输出结果是【 】。

A. 1267
B. 1256
C. 1278
D. 1245

阅读下面短文,从短文后所给各题的四个选项([A]、[B]、[C]和[D])中选出能填入相应空白处的最佳选项。 Some students at the Open University left school 20 years ago. (36) are younger but all must be at least 21 years old. This is one example of (37) the Open University is different (38) all the others. Its students must (39) work fulltime or be at home all day. They do not have to (40) any examinations before they are (41) . This is why the university is called "open". It was started (42) order to help people who (43) having a university education when they were young. The first name (44) the open university was "the University of the Air". The idea was to teach (45) the air, in other (46) , on radios and the television. (47) of the teaching is done like this. The student also receives (48) at one of 283 study centers in the country. He must also (49) three weeks every summer as a (50) student. Tutors and students (51) and study together, (52) in other universities. At the end of the Open University’s first year, the (53) were good; three (54) of four students passed their examinations. (55) they do this every year, they will finish their studies in four or five years.

A. Most
B. All
C. Many
D. Much

答案查题题库