1.请用上 strcat的源码源码 编一个最简单的c程序!急!源码!源码rf433源码!源码!源码ros包隐藏源码!源码读写锁源码解析!源码
请用上 strcat的源码源码 编一个最简单的c程序!急!源码!源码!源码!源码!源码在线担保交易源码!源码
#include <stdio.h>
#include <string.h>
char
*mystrcat (char* dst,源码cxnd源码社区账号 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-27 04:54
2024-11-27 04:28
2024-11-27 04:06
2024-11-27 03:16
2024-11-27 02:46
2024-11-27 02:42