In .the first sentence of the second paragraph, the word skyrocketed, most probably means ______.
A) became various
B) was updated
C)increased rapidly
D) remained the same
第1题:
执行下列程序,显示的结果是______。
first="china"
second=""
a=LEN(first)
i=a
DO WHILE i>=1
second=second+SUBSTR(first,i,1)
i=i-1
ENDDO
?second
第2题:
下面程序的输出结果是______。
include<iostream>
using namespace std;
int x;
void funA(int&,int);
void funB(int,int&);
int main()
{
int first;
int second=5;
x=6;
funA(first,second);
funB(first,second);
cout<<first<<””<<second<<””<<x<<endl;
return 0;
}
void funA(int &a,int b)
{
int first;
first=a+b;
a=2*b;
b=first+4;
}
void funB(int u, int &v)
{
int second;
second=x;
v=second+4;
x=u+v;
}
第3题:
b)
main()
{
union{ /*定义一个联合*/
int i;
struct{ /*在联合中定义一个结构*/
char first;
char second;
}half;
}number;
number.i=0x4241; /*联合成员赋值*/
printf("%c%c\n", number.half.first,
mumber.half.second);
number.half.first='a'; /*联合中结构成员赋值
*/
number.half.second='b';
printf("%x\n", number.i);
getch();
}
AB (0x41 对应'A',是低位;Ox42 对应'B',
是高位)6261 (number.i 和number.half 共用一块地址空
间)
第4题:
下面程序的输出结果是【 】。
include<iostream>
using namespace std;
int x;
void funA(int&,int);
void funB(int,int&);
int main()
{
int first;
int second=5;
x=6;
funA(first,seconD) ;
fimB(first,seconD) ;
cout<<first<<" "<<second<<" "<<x<<end1;
return 0;
}
void funA(int &a,int B)
{
int first;
first=a+b;
a=2*b;
b=first+4;
}
void funB(int u,int &v)
{
int second;
second=x;
v=second+4;
x=u+v;
}
第5题:
有以下程序: #include <iostream> using namespace std; char *x[]={"First", "Second", "Third" }; void f(char *z[ ]) { cout<<*z++<<end1; } int main ( ) { char **y; y=x; f(y); return 0; }
A.产生语法错误
B.First
C.Secpnd
D.Third
第6题:
下面哪个选项是“经济舱票价”的正确英文表述()。
A.second-class fare
B.business fare
C.first-class fare
D.economy fare