用指針和數組實現字符串複製

/**************** 用指針和數組實現字符串複製 ****************/ #include<stdio.h> #define N 80 void MyStrcpy(char dstStr[],char srcStr[])        //使用字符串數組作爲函數參數複製字符串 {     int i = 0;     while(srcStr[i]!= '\0')   
相關文章
相關標籤/搜索