请用上 strcat的源码源码C语源码 编一个最简单的c程序!急!函数函数!源码源码C语!函数函数!源码源码C语!函数函数日历易语言源码!源码源码C语
#include <stdio.h>
#include <string.h>
char
*mystrcat (char* dst,函数函数公众号pk源码 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);
}
2025-01-31 07:34
2025-01-31 07:20
2025-01-31 06:48
2025-01-31 05:55
2025-01-31 05:01