首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
字符串 "8+a=b\n\r" 的长度为
字符串 "8+a=b\n\r" 的长度为
admin
2020-06-29
34
问题
字符串 "8+a=b\n\r" 的长度为
选项
A、14
B、7
C、9
D、16
答案
B
解析
本题考查字符常量中转义字符常量,\n,\r为转义字符,只占一个字节,所以该字符串的长度为7。选项B正确。
转载请注明原文地址:https://kaotiyun.com/show/k78p777K
本试题收录于:
二级C题库NCRE全国计算机二级分类
0
二级C
NCRE全国计算机二级
相关试题推荐
有如下程序:#includeusingnamespacestd;classVAC{public:intf()const{return3;}intf(){return5;}};intmain(){VACv
面向对象方法中,实现对象的数据和操作结合于统一体中的是
有如下程序:#includeusingnamespacestd;classGA{public:virtualintf(){return1;}};classGB:publicGA{public:virtuali
有如下函数定义:voidfunc(inta,int&b){a++;b++;}若执行代码段:intx=0,y=1;func(x,y);则变量x和y的值分别是()。
请使用VC6或使用【答题】菜单打开考生文件夹proj1下的工程proj1。程序中位于每个“//ERROR****found****”之后的一行语句有错误,请加以改正。改正后程序的输出结果应为:Name:SmithAge:21ID:99999Cour
下列语句或语句序列中有语法错误的是
在下列选项中,不允许作为C++标识符的是
使用VC6打开考生文件夹下的源程序文件modil.cpp,但该程序运行时有错,请改正程序中的错误,使程序输出的结果为:Number=7Number=12注意:错误的语句在∥********error********的下面,修改
下列字符串中可以用作C++标识符的是
在软件开发中,需求分析阶段产生的主要文档是( )。
随机试题
某资源联合开采企业为增值税一般纳税人,2020年8月生产经营情况如下:(1)专门开采天然气6000立方米,开采原煤450万吨,采煤过程中因安全生产抽采的天然气350立方米。(2)销售开采的原煤200万吨,取得不含税销售额24500万元,另取得优质服务费
生物体内许多重要的生物活性物质是由氨基酸衍生而来。苯丙氨酸、()等氨基酸是甲状腺激素、肾上腺素和去甲。肾上腺素等激素的前体。色氨酸还是动物体内合成少量维生素B5的原料
患者,女,25岁。月经初潮迟至,婚后日久不孕,耳鸣,手足心热,心烦少寐,便秘溲黄;舌红少苔,脉细数。激素测定:促黄体生成素35.6mIU/L,卵泡刺激素10.2IU/L,睾酮4.9nmol/L。彩超:右侧卵巢大小为3.3cm×3.2cm,其内可探及18
【2013年真题】关于强矩阵组织形式的说法,正确的有()。
证券公司从事介绍业务,与期货公司签订的书面委托协议应载明的事项不包括()。
中国古代读书人为了实现“朝为田舍郎,暮登天子堂”的理想,最佳途径应该是()
公开工作是指直接以公安机关的名义和人民警察的身份,采取被对方了解、认识直至使对方配合的方法和措施开展的工作。( )
下表列出了固体、液体、气体之间的转化,其中①②③④对应正确的是:
在数据库系统的组织结构中,把概念数据库与物理数据库联系起来的映射是()。
Nomatterwhereyou’regoing,airtravelisanessentialpartofyourtrip.Haveyoueverexperiencedairtravel?Maybeit’sfun
最新回复
(
0
)