# include <stdio.h> main() { char s[]={"012xy"}; int i,n=0; for (i=0; s[i]!#include main(){ char s[]={“012xy”};int i,n=0;for(i=0;s[i]!=0;i++)if(s[i]>=’a’&&s[i]

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/09 00:42:17
#include<stdio.h>main(){chars[]={"012xy"};inti,n=0;for(i=0;s[i]!#includemain(){chars

# include <stdio.h> main() { char s[]={"012xy"}; int i,n=0; for (i=0; s[i]!#include main(){ char s[]={“012xy”};int i,n=0;for(i=0;s[i]!=0;i++)if(s[i]>=’a’&&s[i]
# include <stdio.h> main() { char s[]={"012xy"}; int i,n=0; for (i=0; s[i]!
#include
main()
{ char s[]={“012xy”};int i,n=0;
for(i=0;s[i]!=0;i++)
if(s[i]>=’a’&&s[i]

# include <stdio.h> main() { char s[]={"012xy"}; int i,n=0; for (i=0; s[i]!#include main(){ char s[]={“012xy”};int i,n=0;for(i=0;s[i]!=0;i++)if(s[i]>=’a’&&s[i]
要答案的话,把程序运行一下就知道拉.我觉得就是A,因为s[0]==0,当i==0时,s[i]!=0为假,跳出循环,此时n没变,仍是0.若是判断字符是否结束,判断条件应是:s[i]!='\0';