单项选择题
下面程序执行后如果输入的是abcdef则结果是() #include main() { char a[7]; scanf(""%s"",a); printf(""%c"",a[2]); }
A.a B.b C.c D.d
单项选择题 在C语言中对字符型数组的正确定义为()
单项选择题 有如下的C语言程序,运行后输出的是() #include ""stdio.h"" main() { char s[]=""abcde""; printf(""%d\n"",s[2]); }
单项选择题 有如下的C语言程序,运行后m的值为() #include ""stdio.h"" main() { int m=0; int i,j; for(i=0; i<4; i++) { for(j=0; j<=3; j++) { m++; } } printf(""%d"",m); }