有以下程序 #include <stdio.h> void fun(char *s) { while(*s) { if (*s%2==0) printf("%c",*s); s++; } } void main() { char a[]={"good"}; fun(a); printf("\n"); } 执行后的输出结果是( )。
A.a B.b C.c D.d正确答案D
有以下程序 #include <stdio.h> void fun(char *s) { while(*s) { if (*s%2==0) printf("%c",*s); s++; } } void main() { char a[]={"good"}; fun(a); printf("\n"); } 执行后的输出结果是( )。
A.a B.b C.c D.d正确答案D