C语言学习(11)

1 //运用strcat函数
2 #include<stdio.h>
3 #include<string.h>
4 int main(){
5     char s1[100]="Tianjing,",s2[]="How are you";
6     strcat(s1,s2);
7     puts(s1);
8     return 0;
9 }

猜你喜欢

转载自www.cnblogs.com/Tobi/p/9235535.html