答案查看网,轻松搜题/搜资源
登录
×
登录账号
记住密码
立即注册
忘记密码
×
注册
使用微信扫描二维码,获取账号密码后免费查看答案
前往登录
忘记密码
×
忘记密码
使用微信扫描下方二维码,即可找回您的账号密码
前往登录
立即注册
搜题/搜资源
【单选题】【消耗次数:1】
设函数void swap(int&,int&)将交换两形参的值,如两整型变量int a=10;int b=15;则执行swap(a,b)后,a、b值分别为( )
①
10,10
②
10,15
③
15,10
④
15,15
参考答案:
复制
纠错
相关题目
【单选题】
设函数void swap(int,int)将交换两形参的值,如两整型变量int a=10;int b=15;则执行swap(a,b)后,a、b值分别为( )
①
10,10
②
10,15
③
15,10
④
15,15
查看完整题目与答案
【单选题】
设”int a=15,b=26;”,则”cout<<(a,b);”的输出结果是()。
①
15
②
26,15
③
15,26
④
26
查看完整题目与答案
【单选题】
设”int a=15,b=26;”,则”cout(a,b);”的输出结果是()
①
15
②
26,15
③
15,26
④
26
查看完整题目与答案
【单选题】
设”int a=15,b=26;”,则”cout<<(a,b);”的输出结果是(????)
①
15
②
26,15
③
15,26
④
26
查看完整题目与答案
【单选题】
设”int a=15,b=26;”,则”cout(a,b);”的输出结果是()。
①
15
②
26,15
③
15,26
④
26
查看完整题目与答案
【单选题】
输入10,该程序的运行效果是() #include void main() { int a=15,b=25; intp= intq= q=p; printf(%d ,%d\n,*p,*q); }
①
15,15
②
15,25
③
25,15
④
25,25
查看完整题目与答案
【单选题】
设存在函数int min(int,int)返回两参数中较小值,若求15,26,47三者中最小值,下列表达式中错误的是( )
①
int m=min(min(15,26),min(15,47));
②
int m=min(15,26,47);
③
int m=min(15,min(47,26));
④
int m =min(min(47,26),16);
查看完整题目与答案
【单选题】
设存在函数int min(int,int)返回两参数中较小值,若求15,26,47三者中最小值,下列表达式中错误的是( )
①
int m=min(min(15,26),min(15,47));
②
int m=min(15,26,47);
③
int m=min(15,min(47,26));
④
int m =min(min(47,26),16);
查看完整题目与答案
【单选题】
假定a和b为int型变量,则执行以下语句后b的值为a=1;b=10;do{b-=a;a++;}whileb--<0);
①
9
②
-2
③
-1
④
8
查看完整题目与答案
【单选题】
有说明语句int a[10];及函数int fun(int x[10],int n){return sizeof(x);},则语句cout<<fun(a,10)<<endl;的显示结果是()
①
40
②
10
③
4
④
0
查看完整题目与答案
随机题目
【单选题】
14. It is ____ pity that you cannot come to the wedding.
①
such a
②
so
③
such as
④
many a
查看完整题目与答案
【单选题】
The man was informed ____ the arrival of the new products. ?
①
to ?
②
on ?
③
of ?
④
with?
查看完整题目与答案
【单选题】
4. David watched her car until it ____ from view.
①
remained
②
delayed
③
grew
④
disappeared
查看完整题目与答案
【单选题】
“Where do you live?” I live ____ 550 Dalian Road.”
①
on
②
at
③
to
④
for
查看完整题目与答案
【单选题】
You’re ____ your time trying to persuade him. He’ll never join us. ?
①
spending ?
②
wasting ?
③
losing ?
④
missing?
查看完整题目与答案
【单选题】
The boy lost his ____when he stepped on the icy road.
①
way
②
weight
③
balance
④
direction
查看完整题目与答案
【单选题】
Never in my life ____ or seen such a thing.
①
I have heard of
②
I had heard of
③
have I heard of
④
did I hear of
查看完整题目与答案
【单选题】
—I’m sorry to keep you waiting. —Oh, not at all. I___ here only a few minutes.
①
have been
②
had been
③
was
④
will be
查看完整题目与答案
【单选题】
The bus is late and Julie is cold. She____ for the bus for 10 minutes.
①
waits
②
waited
③
has been waiting
④
has waited
查看完整题目与答案
【单选题】
Put it down, Richard. You mustnt read ____ letter.
①
anyones elses
②
anyones else
③
anyone elses
④
anyone else
查看完整题目与答案