A.take
B.make
C.do
D.go
第1题:
以下不能将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++];);
第2题:
If I hadn’t stood under the ladder to catch you when you fell, you ________ now.
A) wouldn't be smiling B) couldn’t have smiled
C) won’t smile D) didn’t smile
A. wouldn't be smiling
你掉下来的时候,要不是我站在梯子下面接住了你,你现在就不会这样笑着了。
说明:这是一个虚拟语气的句子,发生的事情在过去,因此前面用hadn't stood,而后面是与现在相反的,所以用wouldn't be smiling
第3题:
A、do
B、didn't
C、did
D、don't
第4题:
下面程序的功能是计算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
第5题:
-- Ann is in hospital.
-- Oh, really? I __ know. I __ go and visit her.
A. didn’t; am going to B. don’t; would
C. don’t; will D. didn't; will
第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=0;t[i++]=s[j++];);
第8题:
A.don't
B.can't
C.couldn't
D.didn't
第9题:
第10题:
以下程序的功能是计算: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