测评会员优惠活动进行中 · 开通 VIP,有效期内测评不限次 VIP 优惠中 · 测评不限次 立即查看

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); 

}

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

选项(单选)

上一题 下一题