首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
以下程序的输出结果是( )。 #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
2011-06-10
13
问题
以下程序的输出结果是( )。 #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/axPp777K
本试题收录于:
二级C语言题库NCRE全国计算机二级分类
0
二级C语言
NCRE全国计算机二级
相关试题推荐
若要说明一个类型名STP,使得定义语句STP s;等价于char *s;,以下选项中正确的是
下列关于单目运算符++、--的叙述中正确的是
以下程序的功能是将字符串s中的数字字符放入d数组中,最后输出d中的字符串。例如,输入字符串:abc123edf456gh,执行程序后输出:123456。请填空。#include#includemain(){chars[80],d[80];
在软件设计中,不属于过程设计工具的是()。
数据库系统中实现各种数据管理功能的核心软件是______。
有以下定义:#include<stdio.h>chara[10],*b=a;下面不能给数组a输入字符串的语句是()。
数据库系统的核心是()。
在数据库管理系统提供的数据语言中,负责数据的查询及增、删、改等操作的是
程序测试分为静态分析和动态测试。其中【】是指不执行程序,而只是对程序文本进行检查,通过阅读和讨论,分析和发现程序中的错误。
在结构化方法中,用数据流图(DFD)作为描述工具的软件开发阶段是()。
随机试题
要增强香港、澳门同胞的(),使爱国爱港爱澳光荣传统薪火相传,使“一国两制”事业后继有人,让香港、澳门同胞同祖国人民共担民族复兴的历史责任、共享祖国繁荣富强的伟大荣光。
男性,16岁,近半个月全身水肿,检查尿蛋白(+++),透明管型2~3个/HP,血红蛋白120g/L,血压正常,24小时尿蛋白>3.5g,最可能诊断是
二尖瓣面容的特点是
中性点接地的三相五线制电路中,所有单相电气设备电源插座的正确接线是图()。
根据市场的组织形式,债券流通市场可分为()。
全面调查和抽样调查中都存在的误差是()。
一匀质细杆质量为m,长为l,可绕过一端O的水平轴自由转动,杆于水平位置由静止开始摆下。求:杆转过θ角时的角速度。
公安专业工作的主要特点有()。
将Catalyst6500交换机的系统时间设定为“2013年3月26日,星期五,9点19分25秒”,正确配置是()。
GivingLifeMeaningHaveyouthoughtaboutwhatyouwantpeopletosayaboutyouafteryou’regone?Oneofthestrangestphe
最新回复
(
0
)