题目内容

下列程序的输出结果是()。 #include<stdio.h> void fun(int*a,int*B){ int *k; k=a;a=b;b=k;} main() { int a=1,b=2,*x=&a,*y=&b; fun(x,y); printf("%d%d",a,B); }

A. 2 1
B. 1 2
C. 编译出错
D. 0 0

查看答案
更多问题

以下4个选项,不能看作一条语句的是()。

A. {;}
B. int x=0,y=1,z=0;
C. if(!A);
D. if(b==0)m=1;n=2;

设a和b均为int型变量,且a=6、b=11、c=3,则能使值为3的表达式是()。

A. b%(c%4)
B. b%(c-a%5)
C. b%a-a%5
D. (b%A)-(a%4)

请阅读以下程序: #include<stdio.h> #include<string.h> void fun(int b[]) { static int i=0; do {b[i]+=b[i+1]; }while(i<2);} main() { int k,a[5]={1,3,5,4,9}; fun(A); for(k=0;k<5;k++)printf("%d",a[k]);} 上面程序的输出是()。

A. 13579
B. 48579
C. 48549
D. 48999

PART C
Directions: You will hear three dialogues or monologues. Before listening to each one, you will have 5 seconds to read each of the questions which accompany it. While listening, answer each question by choosing A, B, C or D. After listening, you will have 10 seconds to check your answer to each question. You will hear each piece ONLY ONCE.
听力原文:M: Sarah, you work in the admissions office, don't you?
W: Yes, I've been here for ten years as assistant director.
M: Really? What does that involve?
W: Well, I'm in charge of all the admissions of postgraduate students in the university.
M: Only postgraduates?
W: Yes, postgraduates only. I have nothing at all to do with undergraduates.
M: Do you find that you get particular-sort of…different national groups? I mean, do you get large numbers from Latin America or…
W: Yes. Well, of all the students enrolled last year, nearly half were from overseas. They were from African countries, the Far East, the Middle East, and Latin America.
M: Em. But have you been doing just that for the last 10 years, or, have you done other things?
W: Well, I've been doing the same job. Er, before that, I was secretary of the medical school at Birmingham, and further back, I worked in the local government.
M: Oh, I see.
W: So I've done different types of things.
M: Yes, indeed. How do you imagine your job might develop in the future? Can you imagine shifting into a different kind of responsibility or doing something…
W: Oh, yeah, from October 1, I'll be doing an entirely different job. There's going to be more committee work. I mean, more policy work, and less dealing with students, unfortunately—I'll miss my contact with students.
What is the woman's present position?

Assistant director.
B. Assistant professor.
C. Director.
D. Professor.

答案查题题库