问题 填空题

以下程序运行后的输出结果是______。 main() { char c1,c2; for {c1=’0’,c2=’9’;c1<c2;c1++,C2--)printf("%c%c",c1,c2); printf("\n"); }

答案

参考答案:0918273645

解析: 题目中为 for循环定义了两个字符型循环变量c1和c2,循环开始时分别初始化为字符’0’和’9’,然后每次循环结束给c1增1、c2减1,循环条件为c1<c2,即让c1的值依次为’0’、’1’、’2’…,c2的值依次为’9’、’8’、’7’…,直到两个数相遇时结束循环。又因为该循环的循环体每次按字符形式输出c1和c2的值.所以最终的输出结果为:0918273645。

完形填空
完形填空。
    A businesswoman got into a taxi in midtown. As it was the rush hour and she was in a   __1__  
to catch a train, she   __2__ a quick way to reach it.  "I have been a taxi driver for 15 years!" the
driver said   __3__. "You don't think I know the best way to go?"
    The woman tried to explain that she hadn't   __4__   to annoy him, but the driver kept __5__.
She finally realized that he was too annoyed to be   __6__, so she changed her   __7__. "You know,
you are right," she told him. "It must seem   __8__ for me not to think you know the best way   __9__ 
  the city."
      __10__, the driver glanced at his   __11__   in the rearview mirror, turned down the street she
wanted and got her to the train on time.  "He didn't say another word the rest of the ride," she said.
"__12__   I got out and paid him. Then he thanked me."
    When you find yourself   __13__   with people like the taxi driver, you will always try to   __14__
   your idea. It can lead to longer arguments, lose job chances or    __15__    marriages.  I have
discovered one simple   __16__   extremely unlikely method that can prevent the disagreement or
other difficult situations from   __17__   in a disaster.
    The   __18__   is to put yourself in the other person's shoes and look for the   __19__   in what
that person is saying. Find a way to   __20__, and the result may surprise you.
( )1.A. hurry      
( )2.A. chose      
( )3.A. jokingly  
( )4.A. supposed  
( )5.A. apologizing
( )6.A. reasonable
( )7.A. road      
( )8.A. strange    
( )9.A. across    
( )10.A. Surprised
( )11.A. rider    
( )12.A. until    
( )13.A. satisfied
( )14.A. give up  
( )15.A. combine  
( )16.A. and      
( )17.A. lying    
( )18.A. problem  
( )19.A. fact      
( )20.A. agree    
B. rush      
B. made      
B. angrily    
B. expected  
B. driving    
B. thoughtful
B. mind      
B. wrong      
B. in        
B. Worried    
B. speaker    
B. after      
B. concerned  
B. turn down  
B. destroy    
B. that      
B. resulting  
B. importance
B. meaning    
B. argue      
C. moment    
C. found    
C. anxiously
C. meant    
C. asking    
C. normal    
C. direction
C. terrible  
C. through  
C. Annoyed  
C. helper    
C. because  
C. crowded  
C. stick to  
C. suffer    
C. but      
C. setting  
C. key      
C. expression
C. explain  
D. way       
D. suggested
D. curiously  
D. decided    
D. shouting    
D. practical  
D. manner      
D. stupid      
D. along      
D. Disappointed
D. comer      
D. since      
D. faced      
D. point out  
D. divide      
D. though      
D. leading    
D. reply      
D. truth      
D. escape      
单项选择题