用C语言编写str系列函数(strcpy,strlen,strcmp)
1.strcpy拷贝函数#include <stdio.h>char *mystrcpy(char *str, const char *ptr){ char *temp = str; while((*str++ = *ptr++) != '\0'); return temp;}int main(){ char str[20] = ...