首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
以下程序的输出结果是( )。 #include<stdio.h> main() {int a=1,b=3; if((++a<0)&&!(b--<=0)) printf("%d,%d\n",a,B); else
以下程序的输出结果是( )。 #include<stdio.h> main() {int a=1,b=3; if((++a<0)&&!(b--<=0)) printf("%d,%d\n",a,B); else
admin
2013-02-23
22
问题
以下程序的输出结果是( )。 #include<stdio.h> main() {int a=1,b=3; if((++a<0)&&!(b--<=0)) printf("%d,%d\n",a,B); else printf("%d,%d\n",b,A); }
选项
A、2,2
B、1,3
C、3,2
D、3,1
答案
C
解析
转载请注明原文地址:https://kaotiyun.com/show/16Jp777K
本试题收录于:
二级C语言题库NCRE全国计算机二级分类
0
二级C语言
NCRE全国计算机二级
相关试题推荐
请读程序段:charstr[]="ABCD",*p=str;printf("%d\n",*(p+4));程序段的输出结果是______。
在面向对象方法中,一个对象请求另一对象为其服务的方式是通过发送______。
下面被调用函数sub的函数值的类型是()sub(floatA){floatb;b=a*a+1;returnb;}
已知大写字母B的ASCII码值是66,小写字母b的ASCII码值是98,则用八进制表示的字符常量’\142’是()
已经定义ch为字符型变量,以下赋值表达式中错误的是______。
在下列叙述中,不正确的一条是______。
软件工程的结构化生命周期方法,通常是将软件生命周期划分为计划、开发和运行3个时期,下列选项中的______工作应属于软件开发期的内容。①需求分析②可行性研究③总体设计④问题定义
下列选项中,合法的C语言关键字是______。
已经定义ch为字符型变量,以下赋值表达式中错误的是_____。
数据模型按不同的应用层次分为三种类型,它们是【】数据模型、逻辑数据模型和物理数据模型。
随机试题
强度等级不同的低合金结构钢焊接时,应根据其中焊接性_______的材料选用预热温度。
某日,甲到附近的某中学遛狗,该中学保安未予制止。学生乙(14周岁)因赶去上课,在跑向教学楼的路上被受惊吓的狗咬伤,为此花去医药费若干。乙向甲及学校索赔,甲和学校互相推诿,引起纠纷。问:乙是否有权要求学校承担责任?为什么?
血沉是一项敏感及特异性较高的指标,对疾病的诊断具有重要价值。()
下列关于我国安全生产法律体系的表述,正确的有()。
施工准备阶段合同双方约定的内容有()。
根据世界银行工程项目总建设成本的构成,以下各项中属于直接建设成本的是()。
在科尔伯格的道德发展阶段中,儿童判断行为的好坏主要依据动机,认为有利他动机的就是好的,有利己动机的就是坏的,此阶段儿童的道德发展处于()。
要求你从四个选项中选择最适合取代问号的一个。正确的答案应不仅使两套图形表现出最大的相似性,而且使第二套图形也表现出自己的特征。
世界最大的半岛是________。
(1)设求y’;(2)函数y=y(x)由方程cos(x2+y2)+ex一x2y=0所确定,求
最新回复
(
0
)