问题 单项选择题

有以下程序void swap(char*X,char,*y){char t;t=*X;*X=* Y;*Y=t;} main(){char*s1="abc",*s2="123";swap(s1,s2);printf("%S,%s\n",s1,s2);}程序执行后的输出结果是【 】。

A.123,abc

B.abc,123

C.1bc,a23

D.321,cba

答案

参考答案:C

解析:这是一个转换程序:低字节相互转换,高字节不变。"abc"的ab和"123"的12相互转化。

阅读理解

阅读理解。

      Mr King goes to a dinner party. He is wearing old clothes. He comes into the room. But people

in the room don't look at him. They don't ask him to sit at the table. Mr King goes home and puts on

(穿上) his good clothes. He goes back to the party. Everyone in the room stands up and smiles (微笑)

at him. They give him very good food to cat. Mr King takes off (脱下) his clothes, and puts them in the

food and says, "Eat, clothes!" The other people ask, "What are you doing?" He answers, "I'm asking my

coat to eat food. I am wearing my old clothes. You don't look at me. You don't ask me to sit down.

Now I'm in these clothes. And you give me very good food.  Now I see. you. give the food to my

clothes, not to me ! "

1. Mr King goes to a _____.        

A. birthday party              

B. dinner party

C. evening party              

D. welcome party

2. Mr King goes home to _____ his _____clothes.          

A. put on, good              

B. puts on, fine

C. take off, good            

D. wear, good

3. Mr King goes back to the party with _____.          

A. his old clothes                  

B. a very good car

C. his good clothes                

D. a good watch

4. Mr King takes off his good clothes, and _____ them _____the good food.          

A. ask, to eat                      

B. asks, to eat

C. lets, to eat                      

D. ask, eat

5. Mr King says the good food is _____.         

A. for him                        

B. for his good clothes

C. for me                        

D. for his money

单项选择题