……
摘要: 请编写函数fun,函数的功能是统计一行字符串中单词的个数,字符串在主函数中输入,规定所有单词由小写字母组成,单词之间有若干个空格隔开,一行的开始没有空格。 #include <stdio.h> #include <string.h> #define N 80 int fun( char *s) { 阅读全文
posted @ 2020-04-27 14:55 十零 阅读(1455) 评论(0) 推荐(0) 编辑