C语言求字符串个数。 使用C语言获取输入的字符串并计算字符串的个数在控制台输出显示字符串个数。 完整代码 #include <stdio.h> #include <stdlib.h> int main() { int len; char str[20]; printf