1.请用上 strcat的源码 编一个最简单的c程序!急!!微信外卖源码大全!!新版台湾赌博源码!红色永利源码!
请用上 strcat的源码 编一个最简单的c程序!急!!!!!一度源码!
#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);
}