递归实现字符串长度计算 ```c /*strlen实现*/ int strLen(char *s) { if(s == NULL) return -1; if(*s == '\0') return 0; return strLen(s+1)+1; } ```