请用上 strcat的源码 编一个最简单的c程序!急!!!!!flutter游戏源码!
#include <stdio.h>
#include <string.h>
char
*mystrcat (char* dst,票据系统源码 char* src)
{
char *d;
if (!dst || !src)
return (dst);
d = dst;
for (; *d; d++);
for (; *src; src++)
*d++ = *src;
*d = 0;
return (dst);
}
main()
{
char outstr[];
strcpy(outstr,"she is ");
mystrcat(outstr,"Kitty!");
printf(outstr);
}
2024-11-30 00:10
2024-11-29 23:38
2024-11-29 23:15
2024-11-29 23:04
2024-11-29 22:28