用眼卫生需注意哪几点A.坐姿要端正 B.平衡膳食 C.提倡做眼保健操 D.持续用眼1 发布时间:2017-06-04 01:36 │ 来源:www.tikuol.com 题型:单项选择题 问题: 用眼卫生需注意哪几点A.坐姿要端正B.平衡膳食C.提倡做眼保健操D.持续用眼1小时后应休息E.定期检查视力,发现近视应配戴适度眼镜
题型:单项选择题 下列程序的功能是:求出ss所指字符串中指定字符的个数,并返回此值。 例如,若输入字符串123412132,指定字符1,则输出3。请填空。 #include<stdio.h) #deftne M 81 int fun(char * ss,char c) int i=0;for(; 【18】 ;ss++) if(*ss==c) i++;return i; main() char a[M],ch;printf("\nPlease enter a string:");gets(a);printf("\nPlease enterachar:");ch=getchar();printf("\nThe number of the char is:%d\n",fun(a,ch)); 查看答案