> 其他 >
void main(){char ch[30]="nice to meet you!';strcpy(a+strlen(a)/2,"you");printf("%s\n",a);}
人气:485 ℃ 时间:2020-06-13 07:23:16
解答
#include
#include //要加头文件
void main()
{char a[30]="nice to meet you!";//双引号
strcpy(a+strlen(a)/2,"you");
printf("%s\n",a);}
推荐
猜你喜欢
© 2025 79432.Com All Rights Reserved.
电脑版|手机版