首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
下面程序的输出结果是 ( ) # include<stdio.h> # include<string.h> { char * p1="abc" , * p2=" ABC ",str[50]="xyz"; strcpy(str+2.strcat
下面程序的输出结果是 ( ) # include<stdio.h> # include<string.h> { char * p1="abc" , * p2=" ABC ",str[50]="xyz"; strcpy(str+2.strcat
admin
2009-04-15
23
问题
下面程序的输出结果是 ( ) # include<stdio.h> # include<string.h> { char * p1="abc" , * p2=" ABC ",str[50]="xyz"; strcpy(str+2.strcat (pi,p2)); printf("%s\n",str);}
选项
A、xyzabcAB
B、zabcABC
C、yzabcABC
D、xycbcABC
答案
8
解析
转载请注明原文地址:https://kaotiyun.com/show/liXp777K
本试题收录于:
二级C语言题库NCRE全国计算机二级分类
0
二级C语言
NCRE全国计算机二级
相关试题推荐
有如下语句序列:Dima,bAsIntegerPrintaPrintb执行以上语句序列,下列叙述中错误的是( )。
阅读程序:PrivateSubForm_Click() a=0 Forj=1To15 a=a+jMod3 Nextj PrintaEndSub程序运行后,单击窗体,输出结果是( )。
下列程序执行后,变量x的值为()。Dima,b,c,dAsSingleDimxAsSinglea=10:b=30:c=400Ifb>aThend=a:a=b:b=dEnd
在用Open语句打开文件时,如果省略“For方式”,则打开的文件的存取方式是()。
VisualBasic中的"启动对象"是指启动VisualBasic应用程序时,被自动加载并首先执行的对象。下列关于VisualBasic"启动对象"的描述中,错误的是( )。
假定建立了一个名为Command1的命令按钮数组,则以下说法中错误的是
下列模式中,能够给出数据库物理存储结构与物理存取方法的是()。
在计算机系统中,存储一个汉字的国标码所需要的字节数为
在DOS环境下,表示打印机的设备文件名是【 】。
一个汉字的机内码在计算机内部需用2个字节存储,每个字节的最高位是()
随机试题
矿物药的本色指的是()。
下列句子中,数字用法符合规范的是()。
习近平总书记指出,党对军队的绝对领导是我军的军魂和命根子,永远不能变,永远不能丢。党对军队绝对领导的根本原则和制度,发端于南昌起义,奠基于三湾改编,定型于()。
Ifbetterworkgetshigherpay,theworkerswillsurelyhavegreater______toproduce.
下列哪一类疾病的病因与疱疹病毒无关
粉末中有可见石细胞、黏液细胞和油细胞的药材是
高级语言不必经过编译,可以直接运行。
校长:老师
维护世界和平、促进共同发展,是中国外交政策的宗旨。为此,要推动建设新型国际关系。新型国际关系,特别是“新”在()
Amonthago,theBritishgovernmentannouncedaplantokeepterroristsuspectsindefinitelyunderhousearrest(1)_____thehom
最新回复
(
0
)