单项选择题
在C语言中,只有在使用时才占用内存单元的变量,其存储类型是
A) auto和register
B) extern和register
C) auto_和static
D) static和register
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
有以下程序: #include <stdio.h> main() char s[]= 012x4y 08s34f4w2 ; int i,n =0; for(i=0;s[i]!=0;i++) if(s[i]>='0'&&s[i]<='9') n++; printf( %d n ,n); 程序运行后的输出结果是
A) 0
B) 3
C) 4
D) 7
点击查看答案&解析
单项选择题
有以下程序: main() int a=0,b=0,c=0,d=0; if(a=1) b=1;c=2; else d=3; printf( %d,%d,%d,%d n ,a,b,c,d); 程序运行后输出结果是
A) 0,1,2,0
B) 0,0,0,3
C) 1,1,2,0
D) 编译有错
点击查看答案&解析
相关试题
有以下程序: #include <stdio.h> m...
以下程序运行后的输出结果是______。...
阅读下面程序段,执行后输出的结果是___...
下面程序的功能是输出数组s中最大元素的下...
有以下程序: #include <stdio.h> i...