【C语言】【字符串函数的模拟实现】strcpy,strcat,strcmp,strncpy,strncat,strstr
1.strcpychar*strcpy(char*destination,constchar*source)源字符串必须以’\0’结尾会将原字符串中的‘\0’拷贝到目标字符串中目标空间必须足够大,能放得下源字符串模拟实现:char*my_strcpy(char*des,constchar*sour){char*ret=des;assert(des);assert(sour);while(*des+