有以下程序(strcpy为字符串复制函数,strcat为字符串连接函数):
# include <stdio.h>
# include <string.h>
main( )
char a[10]="abc", b[10]="012", c[10]="xyz";
strcpy(a+1, b+2);
puts(strcat(a, c+1));

程序运行后的输出结果是( )。

题库:计算机等级考试 类型:最佳选择题 时间:2017-07-03 17:43:20 免费下载:《单项选择》Word试卷

有以下程序(strcpy为字符串复制函数,strcat为字符串连接函数):
# include <stdio.h>
# include <string.h>
main( )
char a[10]="abc", b[10]="012", c[10]="xyz";
strcpy(a+1, b+2);
puts(strcat(a, c+1));

程序运行后的输出结果是( )。


A.a12xyz
B.12yz
C.a2yz
D.bc2yz

有以下程序(strcpy为字符串复制函数,strcat为字符串连接函数):  # include <stdio.h>  # include <string.h>

本题关键词:数字字符串,符号数字试验,串通投标行为,风险函数,功效函数图,串珠肋,串级式,串料法,串联式,以僧为师;

微信扫码获取答案解析
下载APP查看答案解析