52.下列程序运行的结果是
![](https://yi2.oss-cn-shenzhen.aliyuncs.com/0000810a0d11223dc0f89874dcef4300.png)
( )
A. x=3.600000,i=3
B. x=3.6,i=3
C. x=3,i=3
D. x=3.600000,i=3.000000
https://www.shititong.cn/cha-kan/shiti/00008112-f313-4be0-c0f8-9874dcef4300.html
点击查看答案
2.C语言程序从( )开始执行。
A. 程序中第一条可执行语句
B. 程序中第一个函数
C. 程序中的main函数
D. 包含文件中的第一个函数
https://www.shititong.cn/cha-kan/shiti/00008160-060e-d6fa-c0f8-9874dcef4300.html
点击查看答案
31.下列数据中属于”字符串常量”的是( )。
A. ”a”
B. {ABC}
C. ‘abc\0’
D. ‘a’
解析:解析:若干个字符构成字符串在C语言中,用单引号标识字符;用双引号标识字符串选项B,C,分别用{}和’’标识字符串选项D,标识字符。
https://www.shititong.cn/cha-kan/shiti/00008160-060f-19e4-c0f8-9874dcef4300.html
点击查看答案
33.以下定义
![](https://yi2.oss-cn-shenzhen.aliyuncs.com/4d1d8f045cec481da24f26ada3835423.png)
中,标识符prt
A. 定义不含法
B. 是一个指针数组名,每个元素都是一个指向整数变量的指针
C. 是一个指针,它指向一个具有三个元素的一维数组
D. 是一个指向整型变量的指针
https://www.shititong.cn/cha-kan/shiti/00008150-0e26-0334-c0f8-9874dcef4300.html
点击查看答案
18.执行下面的程序
![](https://yi2.oss-cn-shenzhen.aliyuncs.com/6c03c7250506492d9ed472df7eaafe49.png)
段后,变量k中的值为
https://www.shititong.cn/cha-kan/shiti/00008150-0e25-e4fd-c0f8-9874dcef4300.html
点击查看答案
7.在执行inta[][3]={1,2,3,4,5,6};语句后,a[1][0]的值是( )。
https://www.shititong.cn/cha-kan/shiti/00008150-0e25-cdf0-c0f8-9874dcef4300.html
点击查看答案
26.以下不正确的定义语句是
A. doublex[5]={2.0,4.0,6.0,8.0,10.0};
B. inty[5]={0,1,3,5,7,9};
C. charc1[]={′1′,′2′,′3′,′4′,′5′};
D. charc2[]={′\x10′,′\xa′,′\x8′};
https://www.shititong.cn/cha-kan/shiti/00008150-0e25-f4ef-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
点击查看答案
18.有一堆零件(100到200之间),如果分成4个零件一组的若干组,则多2个零件;若分成7个零件一组,则多3个零件;若分成9个零件一组,则多5个零件。下面程序
![](https://yi2.oss-cn-shenzhen.aliyuncs.com/000081357b0d372bc0f89874dcef4300.png)
是求这堆零件总数,请选择填空。( )
A. i%9=5
B. i%9!=5
C. (i-5)%9!=0
D. (i-5)%9==0
https://www.shititong.cn/cha-kan/shiti/0000813e-e8f3-402f-c0f8-9874dcef4300.html
点击查看答案
33.以下所列的各函数首部中,正确的是( )
A. void play(var: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-f5db-c0f8-9874dcef4300.html
点击查看答案