44.下列程序
![](https://yi2.oss-cn-shenzhen.aliyuncs.com/65c42cca551f4ab0b41b491e0febc6f8.png)
是用来判断数组中特定元素的位置所在。如果输入如下整数:
A. 7431
B. 6
C. 980
D. 6980
https://www.shititong.cn/cha-kan/shiti/00008150-0e26-19d3-c0f8-9874dcef4300.html
点击查看答案
35.下面各选项中
![](https://yi2.oss-cn-shenzhen.aliyuncs.com/0000810a0d0b92c0c0f89874dcef4300.png)
,均是C语言标识符的选项组是( )
https://www.shititong.cn/cha-kan/shiti/00008112-f313-28ae-c0f8-9874dcef4300.html
点击查看答案
32.以下程序
![](https://yi2.oss-cn-shenzhen.aliyuncs.com/000081357b1381dcc0f89874dcef4300.png)
的运行结果为( )
A. 6,7
B. 7,6
C. 9,7
D. 7,9
https://www.shititong.cn/cha-kan/shiti/0000813e-e8f3-5fa7-c0f8-9874dcef4300.html
点击查看答案
21.C语言允许函数类型缺省定义,此时函数值隐含的类型是( )
A. float
B. int
C. long
D. double
https://www.shititong.cn/cha-kan/shiti/00008158-0ae4-dbd5-c0f8-9874dcef4300.html
点击查看答案
8.有如下程序
![](https://yi2.oss-cn-shenzhen.aliyuncs.com/000081357b05c569c0f89874dcef4300.png)
该程序的输出结果是( )
A. 987
B. 876
C. 8765
D. 9876
https://www.shititong.cn/cha-kan/shiti/0000813e-e8f3-21e8-c0f8-9874dcef4300.html
点击查看答案
16.有如下程序
![](https://yi2.oss-cn-shenzhen.aliyuncs.com/0000811592140436c0f89874dcef4300.png)
该程序的输出结果是( )
A. 0.000000
B. 0.250000
C. 0.500000
D. 1.000000
https://www.shititong.cn/cha-kan/shiti/00008132-6116-2318-c0f8-9874dcef4300.html
点击查看答案
42.以下不能对二维数组a进行正确初始化的语句是
A. inta[2][3]={0};
B. inta[][3]={{1,2},{0}};
C. inta[2][3]={{1,2},{3,4},{5,6}};
D. inta[][3]={1,2,3,4,5,6};
https://www.shititong.cn/cha-kan/shiti/00008150-0e26-15d9-c0f8-9874dcef4300.html
点击查看答案
14.若x为int型变量,则执行以下语句后
![](https://yi2.oss-cn-shenzhen.aliyuncs.com/000080ed5f769855c0f89874dcef4300.png)
,x的值为( )
A. 36
B. -60
C. 60
D. -24
https://www.shititong.cn/cha-kan/shiti/00008106-48c2-591a-c0f8-9874dcef4300.html
点击查看答案
37.下面对C语言的描述中,正确的是( )
A. 函数一定有返回值,否则无法使用函数
B. C语言函数既可以嵌套定义又可以递归调用
C. 在C语言中,调用函数时,只能将实参的值传递给形参
D. C语言程序中有调用关系的所有函数都必须放在同一源程序文件中
https://www.shititong.cn/cha-kan/shiti/00008158-0ae4-fdc8-c0f8-9874dcef4300.html
点击查看答案
14.若有说明inta[3][4];则a数组元素的非法引用是D
A. a[0][2*1]
B. a[1][3]
C. a[4-2][0]
D. a[0][4]
https://www.shititong.cn/cha-kan/shiti/00008150-0e25-dc6e-c0f8-9874dcef4300.html
点击查看答案