首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
自考
设char strl[7]="ABCDEF",str2[5]="xyz";;则执行语句: printf("%d",strlen(strcpy(str1,str2))); 后的输出是______。
设char strl[7]="ABCDEF",str2[5]="xyz";;则执行语句: printf("%d",strlen(strcpy(str1,str2))); 后的输出是______。
admin
2010-04-24
16
问题
设char strl[7]="ABCDEF",str2[5]="xyz";;则执行语句:
printf("%d",strlen(strcpy(str1,str2)));
后的输出是______。
选项
答案
3
解析
strcpy()是将字符串str2复制到str1中,且str1中原有的字符将被覆盖。
转载请注明原文地址:https://kaotiyun.com/show/cJAx777K
本试题收录于:
高级语言程序设计题库理工类分类
0
高级语言程序设计
理工类
相关试题推荐
数字微波通信系统由哪几部分组成?
GSM移动通信系统空中接口采用了()
PDL不仅可以作为一种设计工具,还可以作为__________工具直接插在源程序中间,以保持文档和程序的一致性。
在面向数据流的软件设计方法中,一般将信息流分为()
有效性测试的目标是发现软件实现的功能与_________不一致的错误,因此它通常采用的测试技术是_________。
“当一个模块直接修改或操作另一个模块的数据,或一个模块不通过正常入口而转入到另一个模块”描述的耦合类型是以下的()
下列不属于RUP的实现目标的是()
下列哪个算法是选择最早装入内存的页作为被替换的页()
已知有关系模式R(sno,sname,age),其中sno表示学生的学号,类型为Char(8),前4位表示入学年份。查询所有2003年入学的学生姓名(sname),正确的SQL语句是【】
随机试题
下列有关1985年海牙《关于信托的法律适用及其承认的公约》的表述,不正确的有()
噎膈的病因病机有呃逆的病因病机有
由己糖激酶催化的反应的逆反应所需要的酶是
A.胎粪吸入性肺炎B.肺出血C.湿肺D.肺透明膜病E.感染性肺炎
带下量多,色白,面色萎黄,纳少便溏,已1月余,近3天带下转为黄色,质黏稠。宜选用
患者曾发高热,热退而见口鼻、皮肤干燥,形瘦,目陷,唇舌干燥,舌紫绛边有瘀斑、瘀点。其病机是()
下列关于分部分项工程量清单编制的说法中,错误的是()。
频率100GHz等于()。[2007年真题]
撰写教育研究成果,要注重观点和材料的一致性,主要问题在于()。
保险合同的当事人是()。
最新回复
(
0
)