10-22C/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)); } 程序运行后的输出结果是a
相关文章
相关标签/搜索