首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
以下程序段的运行结果是( )。 #include<stdio.h> main() {int x=2,y=1: switch(x) {case 1: switch(y) {case 0:printf("x=2,y=1\
以下程序段的运行结果是( )。 #include<stdio.h> main() {int x=2,y=1: switch(x) {case 1: switch(y) {case 0:printf("x=2,y=1\
admin
2011-06-10
33
问题
以下程序段的运行结果是( )。 #include<stdio.h> main() {int x=2,y=1: switch(x) {case 1: switch(y) {case 0:printf("x=2,y=1\n");break; case 1:printf("y=1\n");break; } case 2:printf("x=2\n"); } }
选项
答案
x=2
解析
转载请注明原文地址:https://jikaoti.com/ti/waB0FFFM
本试题收录于:
二级C语言题库NCRE全国计算机二级分类
0
二级C语言
NCRE全国计算机二级
相关试题推荐
有以下程序: main( ) { char a[ ]={‘a’,‘b’,‘c’,‘d’,‘e’,‘f’,‘g’,‘h’,‘\0’};int i,j; i=sizeof(a);j=strlen(a); printf("%d,%
与数学式子对应的C语言表达式是
以下程序中,能够通过调用函数fun,使main函数中的指针变量p指向一个合法的整型单元的是
下列选项中,能作为合法DOS文件名的是
以下程序中,函数sumColumM的功能是:求出M行N列二维数组每列元素中的最小值,并计算它们的和值。和值通过形参传回主函数输出。请填空。 #defineM2 #defineN4 voidSumColumMin(inta[M]
DOS文件系统的组织结构属于
算法执行过程中所需要的基本运算次数称为算法的______。
数据库(DB)、数据库系统(DBS)、数据库管理系统(DBMS)之间的关系是()。
在结构化方法中,用数据流图(DFD)作为描述工具的软件开发阶段是()。
随机试题
胰腺癌出现腹水的原因是
胃痛,肝气犯胃证的病机为呕吐,肝气犯胃的病机为
A.行气止痛、杀虫B.行气止痛、化痰C.行气导滞、利水D.行气止痛、调经E.行气散结、消食川楝子具有的功效是
A.枳实、芍药、柴胡B.人参、大枣,甘草C.当归、白芍、柴胡D.黄芩、黄连、连翘E.柴胡、黄芩、半夏
下列各项中不可以通过划拨方式取得国有土地使用权的有()。
教育行政部门对()的考核工作进行指导、监督。
在我国行政决策中枢系统的构成中,制定法律,做出决议、决定的是()。
从网络围观现象,我们可以看出,一方面,网络围观对社会进步的推动作用不容忽视。在中国法制尚不健全的当下,网络围观起到了道德维护和推进制度完善的积极作用。另一方面,网络围观也有其消极作用。围观中被围观者不仅面临隐私可能遭到暴露的危险,而且还必须承受激烈话语带来
Whatisthemaintopicofthisnews?
A、Tourgechildrentogetenoughsleep.B、Torelievetheburdenofschoolchildren.C、Todissuadeteenagersfromstayinguplate
最新回复
(
0
)