I can't remember her name. It's on the ______ of my tongue.
A、end
B、point
C、top
D、tip
第1题:
以下程序的功能是计算:s=1+12+123+1234+12345 #include<stdio.h> int main() { int t=0,s=0,i; for(i=1;i<=5;i++) {t=i+_____; s=s+t; } printf("s=%dn",s); return 0; }
A.t
B.t+100
C.t+10
D.t*10
第2题:
以下程序的功能是计算:s=1+12+123+1234+12345 #include<stdio.h> int main() { int t=0,s=0,i; for(i=1;i<=5;i++) {t=i+_____; s=s+t; } printf("s=%dn",s); return 0; }
A.t
B.t*100
C.t+10
D.t*10
第3题:
下面程序的功能是计算1-3+5-7+ …… -99+101的值。 ① main() { int i,t=1,s=0; for(i=1;i<=101;i+=2) { ① ; s=s+t; ② ; } printf(”%dn”,s}; }
A.t = i * t
B.t = i * (t+1)
C.t = (i+1)* t
D.t = (i-1) * t
第4题:
第5题:
以下不能将s所指字符串正确复制到t所指存储空间的是( )。
A.while(*t=*s){t++;s++;}
B.for(i=0;t[i]=s[i];i++);
C.do{*t++:*s++;}while(*s);
D.for(i=0,j=0;t[i++]=s[j++];);
第6题:
以下不能将s所指字符串正确复制到t所指存储空间的是( )。
A.do{*t++=*8++;}while(*s);
B.for(i=0;t[i]=s[i];i++);
C.while(*t=*s){t++;s++;}
D.for(i=0,j=0;t[i++]=s[j++];);
第7题:
以下不能将S所指字符串正确复制到t所指存储空间的是( )。
A.while(*t=*s){t++;s++;)
B.for(i=0;t[i]=s[i];i++);
C.do{*t++=*s++;)while(*s);
D.for(i=0,j=o;t[i++]=s[j++];);
第8题:
The price you quoted is so high that we () help ()this transaction.
A、can…to cancel
B、can't...canceling
C、can…canceling
D、can't…to cancel
第9题:
函数my_cmp()的功能是比较字符串s和t的大小,当s等于t时返回0,否则返回s和t的第一个不同字符的ASCII码差值,即s > t时返回正值,当s < t时返回负值。请填空。
my_cmp(char *s, char *t)
{while (*s == *t)
{if (*s == ′\0′)return 0;
++s; ++t;
} return 【18】 ;
}