递归求字符串长度,需要的就是将数组看成指针,一步一步走下去
int StrLength(char *str) { char *p=str; if(*p=='\0') return 0; else { return (StrLength(++p)+1); } }
努力加油a啊,(o)/~