最佳答案:strlen 只能统计字符串的长度,不能统计单个字符,不能统计数字。 例如: char s[]="abcd 123 \007 \txyz"; printf("%d\n"