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
点击查看答案
17.以下4个选项中,不能看做一条语句的是( )
A. ;
B. a=5,b=2.5,c=3.6;
C. if(a<5);
D. if(b!=5)x=2;y=6;
https://www.shititong.cn/cha-kan/shiti/00008132-6116-254e-c0f8-9874dcef4300.html
点击查看答案
10.以下所列的各函数首部中,正确的是( )
A. void play(vata:Integer,varb:Integer)
B. void play(inta,b)
C. void play(inta,intb)
D. Sub play(aasinteger,basinteger)
https://www.shititong.cn/cha-kan/shiti/00008158-0ae4-c4e6-c0f8-9874dcef4300.html
点击查看答案
34.下列程序
![](https://yi2.oss-cn-shenzhen.aliyuncs.com/d269c31c9b5844d0bd952cea06b93278.png)
的运行结果是
https://www.shititong.cn/cha-kan/shiti/00008150-0e26-0506-c0f8-9874dcef4300.html
点击查看答案
29.未指定存储类别的变量,其隐含的存储类别为( )。
A. auto
B. static
C. extern
D. register
https://www.shititong.cn/cha-kan/shiti/00008160-060f-149c-c0f8-9874dcef4300.html
点击查看答案
15.若已定义:inta=25,b=14,c=19;以下三目运算符(?:)所构成语句的执行后a<=25&&b--<=2&&c?printf(”***a=%d,b=%d,c=%d\n”,a,b,c):printf(”###a=%d,b=%d,c=%d\n”,a,b,c);程序输出的结果是( )
A. ***a=25,b=13,c=19
B. ***a=26,b=14,c=19
C. ###a=25,b=13,c=19
D. ###a=25,b=14,c=19
https://www.shititong.cn/cha-kan/shiti/00008132-6116-20f3-c0f8-9874dcef4300.html
点击查看答案
14.若已定义的函数有返回值,则以下关于该函数调用的叙述中错误的是( )
A. 函数调用可以作为独立的语句存在
B. 函数调用可以作为一个函数的实参
C. 函数调用可以出现在表达式中
D. 函数调用可以作为一个函数的形参
https://www.shititong.cn/cha-kan/shiti/00008158-0ae4-cd5f-c0f8-9874dcef4300.html
点击查看答案
48.阅读下列程序
![](https://yi2.oss-cn-shenzhen.aliyuncs.com/0004b7fee39d46acb5e79718940fe151.png)
,则执行后的结果为
A. 3e,6
B. 62,5
C. 56,5
D. 3E,6
https://www.shititong.cn/cha-kan/shiti/00008150-0e26-2177-c0f8-9874dcef4300.html
点击查看答案
30.C语言中while和do-while循环的主要区别是( )
A. do-while的循环体至少无条件执行一次
B. while的循环控制条件比do-while的循环控制条件更严格
C. do-while允许从外部转到循环体内
D. do-while的循环体不能是复合语句
https://www.shititong.cn/cha-kan/shiti/0000813e-e8f3-5b5e-c0f8-9874dcef4300.html
点击查看答案
6.在C语言程序中,以下描述正确的是( )。
A. 函数的定义可以嵌套,但函数的调用不可以嵌套
B. 函数的定义不可以嵌套,但函数的调用可以嵌套
C. 函数的定义和函数的调用均不可以嵌套
D. 函数的定义和函数的调用均可以嵌套
https://www.shititong.cn/cha-kan/shiti/00008158-0ae4-bcd8-c0f8-9874dcef4300.html
点击查看答案