题目内容

给定程序MODI1.C中函数fun的功能是:将长整型数中为偶数的位依次取出,构成一个新数放在t中。高位仍在高位,低位仍在低位。例如,当s中的数为87653142时,t中的数为8642。 请改正程序中的错误,使它能得出正确结果。 注意:不要改动main函数,不得增行或删行,也不得更改程序的结构。 文件MODI1.C内容如下: #include<stdio.h> void fun(10ng s,long *t) int d; long s1=1; t=0; while(s>0) d=s%10: /**********found**********/ if(d%2=0) *t=d*s1+*t; s1*=10; /**********found**********/ s\=10; void main( ) long s,t; printf("\nPlease enter s:"); seanf("%1d",&s); fun(s,&t); printf("The result is:%1d\n",t);

查看答案
更多问题

A3/A4型题男性,55岁,反复不规则胃胀痛3年,胃镜诊断为萎缩性胃窦炎。 慢性胃炎活动期判定根据是().

A. 黏膜糜烂
B. 黏膜出血
C. 黏膜中性粒细胞增多
D. 黏膜中主要是淋巴细胞、浆细胞
E. 黏膜萎缩

A3/A4型题男,45岁,酗酒后8h出现中上腹疼痛,放射至两侧腰部件恶心、呕吐。体检腹部有压痛、肌紧张及两侧腰腹部出现蓝棕色斑,血压75/55mmHg,脉搏110/min。 最可能的诊断是().

A. 急性胆囊炎
B. 急性胃炎
C. 急性肠梗阻
D. 急性胰腺炎
E. 急性胆管炎

A good modern newspaper is an extraordinary piece of 【B1】 It is remarkable first 【B2】 what it contains: the range of comment and special features as well, from editorial page to feature articles and interviews to criticism of books, arts, theatre, and music. A newspaper is 【B3】 remarkable for the way one reads it: never 【B4】 . never straight through, but always by 【B5】 from here to there, in and out, 【B6】 at one piece, reading another article all the way through, reading just a few paragraphs of the next. A good modern newspaper offers a 【B7】 to attract many different readers. What 【B8】 this variety together in one place is its topicality(时事性), its 【B9】 relation to what is happening in your world and your locality now. 【B10】 immediacy and the speed of production also mean that much of what appears in a newspaper has no more than 【B11】 value. 【B12】 all these reasons, 【B13】 two people really read the same paper: what each person 【B14】 is to put together, out of the pages of that day’’s paper, his own 【B15】 and sequence, his own 【B16】 . For all these reasons, reading newspapers 【B17】 , which means getting what you want from 【B18】 without missing things you need but without wasting time, 【B19】 skill and self-awareness as you modify and 【B20】 the techniques of reading.

A. news
B. events
C. world
D. newspaper

16-20 When I was walking down the street the other day, I happened to notice a small brown leather wallet lying on the sidewalk. I picked it up and opened it to see if I could find out the owner’s name. There was nothing inside it except some change and an old photograph—a picture of a woman and a young girl about twelve years old, who looked like the woman’s daughter. I put the photograph back and took the wallet to the police station, where I handed it to the desk sergeant. Before I left, the sergeant took down my name and address in case the owner might want to write and thank me. That evening I went to have dinner with my aunt and uncle. They had also invited a young woman so that there would be four people at the table. Her face was familiar. I was quite sure that we had not met before, but I couldn’t remember where I had seen her. In the course of conversation, however, the young woman happened to mention that she had lost her wallet that afternoon. All at once I realized where i had seen her. She was the young girl in the photograph, although she was now much older. She was very surprised, of course, when I was able to describe her wallet to her. Then I explained that I had recognized her from the photograph I had found in the wallet. My uncle insisted on going to the police station immediately to claim the wallet. As the police sergeant handed it over, he said that it was amazing that I had not only found the wallet, but also the person who had lost it. The story was amazing because ______.

A. the writer found both the wallet and its owner
B. the finder and the loser of the wallet were old friends
C. the finder and the loser of the wallet met at the police station
D. the woman knew the writer and his uncle

答案查题题库