以下程序运行后的输出结果是_______。#includeint main(){ int i;char s[]="COMPTUER";char c;i=0;while(s[i]!='\0'){c=s[i];s[i]=s[i+1];s[i+1]=c;i=i+2;}printf("%s",s);}
查看答案
以下程序运行后的输出结果是_______。#includeint f(int n){if(n==0||n==1) return 1;elsereturn n+f(n-1);}int main(){printf(“%d\n”,f(0));printf(“%d\n”,f(1));printf(“%d”,f(5));}
运行时,若输入5♢7♢-1<回车>(♢表示空格),则输出结果是_______。#includevoid main(){int a;scanf(“%d”,&a);while(a>0){switch(a){case 5:printf(“%d\n”,a+1);case 6:printf(“%d\n”,a+2);break;case 7:printf(“%d\n”,a+3);default:printf(“%d\n”,a+4);}scanf(“%d”,&a);}}
Fill in the blanks with proper forms of the words given in the box.1. Thechoice to him was a matter of personal.2. This flight is routed to Chicago New York.3. We must graduallythe wage gap.4. The aim of the conference is to international friendship.5 Howdo youthe problem of poor vision.6. Being a good fightmeans making your passengers feel relaxed.7. If we can’t get any financial backing, we forget the whole thing.8.There are jobs more dangerous than truck drivingtraining lions.9. The children had been warmed keep in sight of land they were caught in a storm.10.Al his prompted us to think outways to overcome the difficulties.
For every word in Column A, find its explanationin ColumnB.