答案查看网,轻松搜题/搜资源
登录
×
登录账号
记住密码
立即注册
忘记密码
×
注册
使用微信扫描二维码,获取账号密码后免费查看答案
前往登录
忘记密码
×
忘记密码
使用微信扫描下方二维码,即可找回您的账号密码
前往登录
立即注册
搜题/搜资源
【单选题】【消耗次数:1】
下列程序执行后的输出结果是() void func1(a) { switch(a) { case 1:printf(good); case 2:printf(nice); default:printf(end); } } main( ) { int i=2; func1(i); printf(\n); }
①
nice
②
end
③
good
④
niceend
参考答案:
复制
纠错
相关题目
【单选题】
以下程序段的运行结果是()。 int s=15; switch(s/4) {default: printf(Over ) ; case 1: printf(One ) ; break; case 2: printf(Two ) ; }
①
Two
②
Over Two
③
Over One
④
One
查看完整题目与答案
【单选题】
有以下程序,程序运行以后的输出结果是() #include stdio.h main( ) { int a[ ]={2,3,5,4},i; for(i=0;i switch(i%2) { case 0:switch(a[i]%2) {case 0:a[i]++;break; case 1:a[i]--; }break; case 1:a[i]=0; } for(i=0;i printf(\n); }
①
3 3 4 4
②
2 0 5 0
③
3 0 4 0
④
0 3 0 4
查看完整题目与答案
【单选题】
以下程序段的运行结果是()。ints=15;switch(s/4){default:printf("Over");case1:printf("One");break;case2:printf("Two");}
①
Two
②
OverTwo
③
OverOne
④
One
查看完整题目与答案
【单选题】
下述程序的运行结果( )。 #includevoid main() { int x=1,a=0,b=0; switch(x) { case 0:b++; case 1:a++; case 2:a++;b++; } printf(a=%d,b=%d\n,a,b); } case 1:a++; case 2:a++;b++; } printf(a=%d,b=%d\n,a,b); }
①
a=1,b=1
②
a=2 ,b=1
③
a=2,b=2
④
a=3,b=3
查看完整题目与答案
【单选题】
下面程序的输出结果是()。 #include int num=10; func( ) {int num=4; return ++num; } void main( ) { printf(%d\n, func( ) ) ; }
①
4
②
5
③
10
④
11
查看完整题目与答案
【单选题】
以下程序的运行结果是()。voidmain(){intn=9;switch(n--){default:printf("%d",n++);case8:case7:printf("%d",n);break;case6:printf("%d",n++);case5:printf("%d",n);}}
①
8
②
7
③
89
④
87
查看完整题目与答案
【简答题】
以下程序的运行结果是[填空1]。#include stdio.hvoid main(){int i,j;for (i=4;ii--){printf(*for (j=1;jj++)printf(*printf(\n}}
查看完整题目与答案
【简答题】
以下程序的运行结果是[填空1]。#include stdio.hvoid main(){int i,j;for (i=4;ii--){printf(*for (j=1;jj++)printf(*} printf(\n}
查看完整题目与答案
【简答题】
以下程序的运行结果是[填空1]。#include stdio.hvoid main(){int i,j;for (i=4;ii--){printf(*for (j=1;jj++)printf(*printf(\n}}
查看完整题目与答案
【单选题】
下述程序的运行结果( )。 #includevoid main() { int x=1,a=0,b=0; switch(x) { case 0:b++; case 1:a++; case 2:a++;b++; } printf(a=%d,b=%d\n,a,b); }
①
a=2,b=1
②
a=1,b=2
③
a=0,b=1
④
a=1,b=0
查看完整题目与答案
随机题目
【单选题】
电子认证机构应适用( )责任。
①
共同侵权
②
过错
③
无过错
④
过错推定
查看完整题目与答案
【单选题】
下列哪项不属于个人信息保护法的基本原则?
①
信息质量原则
②
真实有效原则
③
使用限制原则
④
安全保障原则
查看完整题目与答案
【单选题】
电子货币不具有下列哪个特征?( )
①
数字化形态
②
电子化手段
③
主体广泛性
④
安全性
查看完整题目与答案
【单选题】
电子商务中有很多分类,其中BtoC是指( )。
①
企业与个人
②
个人与个人
③
企业与企业
④
企业与政府
查看完整题目与答案
【单选题】
下列哪项不属于认定域名侵权或者构成不正当竞争的条件?
①
原告请求保护的民事权益合法有效
②
被告域名同原告要求保护的权利客体之间不具有相似性
③
被告无注册、使用的正当理由
④
被告具有恶意
查看完整题目与答案
【单选题】
认证证书的传递,可以通过提供( )的安全服务的通信方式来进行。
①
保密性
②
完整性
③
真实性
④
以上都正确
查看完整题目与答案
【单选题】
根据《合同法》,要约的生效要件应具备( )。
①
必须具备订立合同的意图
②
要求必须向要约人希望与之缔结合同的受要约人发出
③
要约的内容必须具体确定
④
以上都正确
查看完整题目与答案
【单选题】
电子银行的风险管理有( )。
①
采取适当的加密技术和措施
②
实施电子银行的安全评估
③
建立应急性处理措施
④
以上都正确
查看完整题目与答案
【单选题】
根据使用的网络类型不同,将电子商务划分不正确的是( )。
①
EDI商务
②
VAN商务
③
Intranet商务
④
Internet商务
查看完整题目与答案
【单选题】
数字化的信息具有以下特点( )。
①
易损耗性
②
不易篡改性
③
易复制性
④
不易利用性
查看完整题目与答案