首先我先展示一个截图,表示两个代码的传值问题“
然后代码展示
1 #include <stdio.h> 2 #define N 100 3 4 /*字符串长度计算函数*/ 5 6 int len(char ch[]){ 7 int i=0; 8 while (ch[i]!='