1.请用上 strcat的源码 编一个最简单的c程序!急!!qt源码怎么写!!安卓源码分钟!接单源码最新ui!
请用上 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);
}