23.设有:
![](https://yi2.oss-cn-shenzhen.aliyuncs.com/0000811592162a2cc0f89874dcef4300.png)
后n的值是( )
https://www.shititong.cn/cha-kan/shiti/00008132-6116-32da-c0f8-9874dcef4300.html
点击查看答案
15.以下代码选项错误的是
![](https://yi2.oss-cn-shenzhen.aliyuncs.com/0000810a0d174812c0f89874dcef4300.png)
( )
https://www.shititong.cn/cha-kan/shiti/00008112-f312-fce1-c0f8-9874dcef4300.html
点击查看答案
10.有以下程序
![](https://yi2.oss-cn-shenzhen.aliyuncs.com/0000811592118323c0f89874dcef4300.png)
执行后输出结果是( )
A. 1,1,2
B. 2,2,1
C. 2,2,2
D. 2,2,3
https://www.shititong.cn/cha-kan/shiti/00008132-6116-1552-c0f8-9874dcef4300.html
点击查看答案
5.下面程序
![](https://yi2.oss-cn-shenzhen.aliyuncs.com/5d117fe8c69b4c549ae7770119b0d78c.png)
段运行时输出结果是( )。
A. abook!
B. abook!
C. abo
D. 格式描述不正确,没有确定输出
https://www.shititong.cn/cha-kan/shiti/00008150-0e25-c9ce-c0f8-9874dcef4300.html
点击查看答案
28.以下描述中正确的是( )
A. 由于do-while循环中循环体语句只能是一条可执行语句,所以循环体内不能使用复合语句
B. do-while循环由do开始,用while结束,在while(表达式)后面不能写分号
C. 在do-while循环体中,是先执行一次循环,再进行判断
D. do-while循环中,根据情况可以省略while
https://www.shititong.cn/cha-kan/shiti/0000813e-e8f3-56bc-c0f8-9874dcef4300.html
点击查看答案
40.已有如下数组定义
![](https://yi2.oss-cn-shenzhen.aliyuncs.com/d2baf0b8cee34f9888f447336ba8ec4c.png)
和f函数调用语句,则在f函数的说明中,对形参数组array的正确定义方式为
A. f(array[3][4])
B. f(intarray[3][])
C. f(intarray[][4])
D. f(intarray[][])
https://www.shititong.cn/cha-kan/shiti/00008150-0e26-11c6-c0f8-9874dcef4300.html
点击查看答案
3.若x是int型变量,y是float型变量,所用的scanf调用语句格式为:scanf(“x=%d,y=%f”,&x,&y);则为了将数据10和66.6分别赋给x和y,正确的输入应是:( )。
A. x=10,y=66.6<回车>
B. 1066.6<回车>
C. 10<回车>66.6<回车>
D. x=10<回车>y=66.6<回车>
https://www.shititong.cn/cha-kan/shiti/00008112-f312-d881-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
点击查看答案
38.若变量已正确说明为float型,要通过语句scanf("%f%f%f",&a,&b,&c);给a赋予10.0,b赋予22.0,c赋予33.0,下列不正确的输入形式是( )
A. 10<回车>22<回车>33<回车>
B. 10.0,22.0,33.0<回车>
C. 10.0<回车>22.033.0<回车>
D. 1022<回车>33<回车>
https://www.shititong.cn/cha-kan/shiti/00008112-f313-2c86-c0f8-9874dcef4300.html
点击查看答案
12.有如下说明
![](https://yi2.oss-cn-shenzhen.aliyuncs.com/4ccdfd100f544c2bb1ae1970e8800a73.png)
则数值为9的表达式是B
A. *p+9
B. *(p+8)
C. *p+=9
D. p+8
https://www.shititong.cn/cha-kan/shiti/00008150-0e25-d82e-c0f8-9874dcef4300.html
点击查看答案