A.even though
B.as if
C.like
D.so
第1题:
I ()have been here, but I()not find the time.
A. could; could
B. might; could
C. should; could
D. should; would
第2题:
下列程序的输出结果是【 】。
include<iostream. h>
class MyClass
{
public:
int number;
void set(int i);
};
int number=3;
void MyClass: :set (int i)
{
number=i;
}
void main( )
{
MyClass my1;
int number=10;
my1.set(5),
cout<<my1, number<<',';
my1.set(number);
cout<<my1.number<<',';
my1.set(: :number);
cout<<my1.number<<'.';
}
第3题:
第4题:
A.were, will go
B.go, have been gone
C.go, will go
D.are going, am going
第5题:
以下程序运行后输入:3,abcde<回车>,则输出结果是【 】
include <string.h>
move(char *str, int n)
{ char temp; int i;
temp=str[n-1];
for(i=n-1;i>0;i--) str[i]=str[i-1];
str[0]=temp;
}
main( )
{ char s[50]; int n, i, z;
scanf("%d,%s",&n,s);
z=strlen(s);
for(i=1; i<=n; i++) move(s, z);
printf("%s\n",s);
}
第6题:
一、选择题:请选择动词的恰当形式填空 I __________ late for class yesterday. () A.am B. was C. were