例1由键盘输入一字符串,求其长度(要求自己编程,不用str
- 例1:由键盘输入一字符串,求其长度(要求自己编程,不用strlen函数) #include "stdio.h" main() {int i=0;char str[100];