1.请用上 strcat的源码源码 编一个最简单的c程序!急!源码!源码源码精灵解密答案!源码!源码代刷首页源码!源码财务分析源码公式!源码
请用上 strcat的源码源码 编一个最简单的c程序!急!源码!源码!源码!源码!源码手里靓号源码!源码
#include <stdio.h>
#include <string.h>
char
*mystrcat (char* dst,源码gin 电商源码 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-30 00:52
2024-11-29 23:44
2024-11-29 23:40
2024-11-29 23:12
2024-11-29 22:50
2024-11-29 22:16