#include<stdio.h>
int main(){
char str[20],len;
scanf("%s",str);
len=length(str);
printf("%d",len);
return 0;
}
int length(char *p){
int i=0;
while(*p!='\0'){
i++;
p++;
}
return i;
}
11-19
1万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
12-11
3570
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交