答案查看网,轻松搜题/搜资源
登录
×
登录账号
记住密码
立即注册
忘记密码
×
注册
使用微信扫描二维码,获取账号密码后免费查看答案
前往登录
忘记密码
×
忘记密码
使用微信扫描下方二维码,即可找回您的账号密码
前往登录
立即注册
搜题/搜资源
【单选题】【消耗次数:1】
以下程序执行后输出结果是() #include stdio.h main( ) { char s[]=\n123\\; printf(%d,%d\n,strlen(s),sizeof(s)); }
①
赋初值的字符串有错
②
6,7
③
5,6
④
6,6
参考答案:
复制
纠错
相关题目
【单选题】
下列程序执行后的输出结果是________. #include stdio.h void main( ) { int a=5,b=60,c; if (ab) {c=a*b;printf(%d*%d=%d\n,b,a,c);} else {c=b/a;printf(%d/%d=%d\n,b,a,c);} }
①
60/5=12
②
300
③
60*5=300
④
12
查看完整题目与答案
【单选题】
下列程序执行后的输出结果是_______.#include stdio.h void main( ) { int a=5,b=60,c; if (ab) {c=a*b; printf(%d*%d=%d\n,b,a,c);} else {c=b/a; printf(%d/%d=%d\n,b,a,c);} }
①
60/5=12
②
300
③
60*5=300
④
12
查看完整题目与答案
【单选题】
以下程序的输出结果是( )。#include stdio.h void main( ){ int a,b;for(a=1,b=1;aa++){ if (b=10) break;if (b%5==1) { b+=5; continue; } }printf(%d\n }
①
101
②
6
③
4
④
3
查看完整题目与答案
【单选题】
以下程序的运行结果是( )。 #include stdio.hvoid main(){int i=1,s=3;do{s+=i++;if (s%7==0)continue;else++i;} while (sprintf(%d\n
①
7
②
8
③
9
④
10
查看完整题目与答案
【简答题】
#include stdio.hint main(){char string[]=I love China! printf(%s\n,string); printf(%c\n,string[7]); return 0;}以上程序运行结果为[填空1]。
查看完整题目与答案
【简答题】
#include stdio.hint main(){char *string=I love China!printf(%s\n,string);return 0;}以上程序运行结果为[填空1]。
查看完整题目与答案
【简答题】
以下程序的运行结果是[填空1]。 #include stdio.hvoid main(){int i=1,s=8;do{s+=i++;if (s%7==0)continue;else++i;} while (sprintf(%d\n}
查看完整题目与答案
【简答题】
以下程序的运行结果是[填空1]。 #include stdio.hvoid main(){int i=1,s=3;do{s+=i++;if (s%7==0)continue;else++i;} while (sprintf(%d\n}
查看完整题目与答案
【简答题】
以下程序的运行结果是[填空1]。 #include stdio.hvoid main(){int i=1,s=1;do{s+=i++;if (s%7==0)continue;else++i;} while (sprintf(%d\n}
查看完整题目与答案
【简答题】
以下程序的运行结果是[填空1]。 #include stdio.hvoid main(){int i=1,s=0;do{s+=i++;if (s%7==0)continue;else++i;} while (sprintf(%d\n}
查看完整题目与答案
随机题目
【单选题】
以王明为代表的“左”倾冒险主义错误的特征是( )。
①
主观主义
②
经验主义
③
教条主义
④
宗派主义
查看完整题目与答案
【单选题】
中国官僚资本垄断全国的经济命脉是在()。
①
洋务运动时期
②
袁世凯统治时期
③
段祺瑞统治时期
④
国民党统治时期
查看完整题目与答案
【单选题】
遵义会议成为中共从幼稚走向成熟的标志主要是因为( )。
①
纠正了博古等人的“左”倾错误
②
在事实上确立了毛泽东的正确领导
③
肯定了毛泽东的正确军事主张
④
独立运用马克思主义原理妥善处理自身问题
查看完整题目与答案
【单选题】
以毛泽东为代表的中国共产党人在农村革命根据地实行土地改革的第一次伟大尝试是颁布了( )
①
《井冈山土地法》
②
《兴国土地法》
③
《五四指示》
④
《中国土地法大纲》
查看完整题目与答案
【单选题】
确立中国共产党对军队的绝对领导的是( )。
①
南昌起义
②
秋收起义
③
三湾改编
④
广州起义
查看完整题目与答案
【单选题】
在1931年毛泽东制定的土地革命路线中,对富农的政策是( )。
①
消灭富农
②
联合富农
③
限制富农
④
保护富农
查看完整题目与答案
【单选题】
1931年1月至1935年1月,中国共产党内出现的主要错误倾向是( )。
①
“左”倾盲动主义
②
“左”倾教条主义
③
右倾保守主义
④
右倾投降主义
查看完整题目与答案
【单选题】
中国民主革命的基本问题是( )
①
武装斗争问题
②
党的建设问题
③
农民问题
④
统一战线问题
查看完整题目与答案
【单选题】
遵义会议主要纠正了( )
①
陈独秀的“右”倾错误
②
王明的“左”倾错误
③
瞿秋白的“左”倾错误
④
李立三的“左”倾错误
查看完整题目与答案
【单选题】
毛泽东提出“以后要非常注意军事,须知政权是由枪杆子中取得的”的重要论断是在( )
①
北京特别会议
②
八七会议
③
遵义会议
④
古田会议
查看完整题目与答案