1.请用上 strcat的源码源码 编一个最简单的c程序!急!源码!源码redis源码学习全集!源码!源码直播源码原理讲解!源码众筹源码定制!源码
请用上 strcat的源码源码 编一个最简单的c程序!急!源码!源码!源码!源码!源码能源监测系统源码!源码
#include <stdio.h>
#include <string.h>
char
*mystrcat (char* dst,源码vue前端模板源码 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);
}