#include <stdio.h>
int mystr_len(char *Desstr){ if(Desstr == NULL) return 0; if(*Desstr == '\0') { return 0; }
else return (1+(mystr_len(++Desstr)));注意是先++}
int main(){
char *str = "hello";printf("%d",mystr_len(str));return 0;}