#include
#include
void main()
{
char str1[10]="Hello ";
char str2[10]="World!";
strcat(str1,str2);//字符串连接,把str2内容接在str1后面
/*
strcpy(str1,str2);//字符串拷贝,把str2的内容拷贝到str1上,覆盖
if(strcmp(str1,str2)==0) /* 执行语句 */;
/************************************************************************/
/*字符串操作还有很多,就不列举了*/
/************************************************************************/
printf("%s \n",str1);
}