A36692. 有以下程序(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); }程序运行后的输出结果是( )
单选题
困难
知识点
题目描述
有以下程序(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);
}
程序运行后的输出结果是( )
选项(单选)
答案解析
详细答案解析为会员权益,按每日次数查看。
开通 / 升级会员
上一题
下一题