C语言学习(24)

1 //用字符串指针作为函数参数,试下字符串的复制 2 #include<stdio.h> 3 void cpystr(char *pss,char *pds){ 4 while( (*pds=*pss)!='\0' ){ 5 pss++; 6 pds++; 7 } 8 } 9 10 int main(){ 11 char
相关文章
相关标签/搜索