void main(){char ch[30]="nice to meet you!';strcpy(a+strlen(a)/2,"you");printf("%s\n",a);}

来源:学生作业学帮网 编辑:学帮网 时间:2024/05/31 21:27:49

void main(){char ch[30]="nice to meet you!';strcpy(a+strlen(a)/2,"you");printf("%s\n",a);}

#include
#include //要加头文件
void main()
{char a[30]="nice to meet you!";//双引号
strcpy(a+strlen(a)/2,"you");
printf("%s\n",a);}