有以下程序: int fun(int x[],int n) static int sum=0,I; for(i=0;i<n;i++)sum+=x[i]; return sum; main() int a[]=1,2,3,4,5,b[]=6,7,8,9,s=0; s=fun(a,5)+fun(b,4);printf("%d\n",s); 程序执行后的输出结果是______。
查看答案
S5. Though a study of this chapter is no substitute for training in public speaking, we believe that its recommendations can nevertheless be of substantial assistance to those who use this book on the numerous occasions when they will be called upon to present their ideas in person before a small group or a large audience.
What part of England will be cloudy and dry over the weekend
有以下程序: #include<stdio.h> #include<string.h> void fun(char s[][10],int n) char t;int i,j; for(i=0;i<n-1;i++) for(j=i+1;j<n;j++) /*比较字符串的首字符大小,并交换字符串的首字符*/ if(s[i][0]>s[j][0])t=s[i][0];s[i][0]=s[j][0];sEj][0]=t; main() char s[5][10]="bcc","bbcc","xy","aaaacc","aabcc"); fun(ss,5);printf("%s,%s\n",ss[0],ss[4]); 程序的运行结果是______。
Passage 1 Humans are forever forgetting that they can’ t control nature. Exactly 20 years ago, a Time magazine cover story announced that scientists are on the verge of being able to predict the time, place and even the size of earthquakes. "The people of quake-ravaged Kobe learned last week how wrong that assertion was." None of the methods conceived two decades ago has yet to discover a uniform warning signal that preceded all quakes, let alone any sign that would tell whether the coming tremor is mild or a killer. Earthquake formation can be triggered by many factors, says Hiroo Kanamori, a seismologist at the California Institute of Technology. So, finding one all-purpose warning sign is impossible. One reason: Quakes start deep in the earth, so scientists can’ t study them directly. If a quake precursor were found, it would still be impossible to warn humans in advance of all dangerous quakes. Places like Japan and California are riddled with hundreds, if not thousands, of minor faults. Prediction would be less important if scientists could easily build structures to withstand tremors. While seismic engineering has improved dramatically in the past 10 to 15 years, every new quake reveals unexpected weaknesses in "quake-resistant" structures, says Terry Tullis, a geophysicist at Brown University. In Kobe, for example, a highway that opened only last year was damaged. In the Northridge earthquake, on the other hand, well-built structures generally did not collapse. A recent report in science adds yet more anxiety about life on the faulty lines. Researchers ran computer simulations to see how quake-resistant buildings would fare in a moderate-size tremor, taking into account that much of a quakes energy travels in a large "pulse" of focused shaking. The results: Both steel-frame buildings and buildings that sit on insulating rubber pads suffered severe damage. More research will help experts design stronger structures and possibly find quake precursors. But it is still a certainty that the next earthquakes will prove once again that every fault cannot be monitored and every highway cannot be completely quake-proofed. What does the author mean to say when he talks about the damage caused by earthquakes to the buildings
A. It is hard to build structures strong enough to withstand serious tremors.
B. Not all structures can be made to withstand the tremor of the earthquakes.
C. The degree of damage caused by earthquakes to different buildings can hardly be predicted accurately.
D. No structures would be strong enough to endure violent earthquakes.