APP下载
首页
>
财会金融
>
c语言冲就完事了家人们
搜索
c语言冲就完事了家人们
题目内容
(
单选题
)
16.设有int a[6][6];,则存储在a[4][4]之前的元素个数为______。

A、  38

B、  29

C、  28

D、  30

答案:C

c语言冲就完事了家人们
11.设有int a=2,b=3,c=4,d;,则执行d=(a>0?b:c);后d的值为______。
https://www.shititong.cn/cha-kan/shiti/0005e1ce-a8fb-dfe8-c044-ce3414c8e901.html
点击查看题目
13.while( )和下列_______等价。
https://www.shititong.cn/cha-kan/shiti/0005e1ce-a8fb-3bd8-c044-ce3414c8e901.html
点击查看题目
6.已知int x=6,y=4,z=5;,执行语句y=z,z=x,x=y;后,变量x的值是______。
https://www.shititong.cn/cha-kan/shiti/0005e1ce-a8fb-8228-c044-ce3414c8e901.html
点击查看题目
14.执行以下程序段后,输出的结果是______。
int a,b=0;
for(a=1;a<=5;a++)
{
if(b>=5) continue;
b=b+a;
}
printf( );
https://www.shititong.cn/cha-kan/shiti/0005e1ce-a8fc-8bc8-c044-ce3414c8e901.html
点击查看题目
16.以下对二维数组b的定义,正确的是______。
https://www.shititong.cn/cha-kan/shiti/0005e1ce-a8fb-9998-c044-ce3414c8e900.html
点击查看题目
17.字符串"A"和字符常量'A'各占用______个字节的内存空间。
https://www.shititong.cn/cha-kan/shiti/0005e1ce-a8fb-ef88-c044-ce3414c8e900.html
点击查看题目
4.设有整型变量x,y,下列选项中,与表达式x*y/5值相同的表达式是______。
https://www.shititong.cn/cha-kan/shiti/0005e1ce-a8fb-2c38-c044-ce3414c8e900.html
点击查看题目
2.若有定义
int a;
float b;
double c;
程序运行时输入:3 4 5<回车>
能把3 输入给变量a、4 输入给变量b、5 输入给变量c 的语句是_____。
https://www.shititong.cn/cha-kan/shiti/0005e1ce-a8fb-7a58-c044-ce3414c8e901.html
点击查看题目
5.设有int x=7,y;,执行语句y=( )+3;后,变量x,y的值是______。
https://www.shititong.cn/cha-kan/shiti/0005e1ce-a8fc-7c28-c044-ce3414c8e901.html
点击查看题目
20.若用数组名作为函数调用的实参,传递给形参的是______。
https://www.shititong.cn/cha-kan/shiti/0005e1ce-a8fa-edb8-c044-ce3414c8e901.html
点击查看题目
首页
>
财会金融
>
c语言冲就完事了家人们
题目内容
(
单选题
)
手机预览
c语言冲就完事了家人们

16.设有int a[6][6];,则存储在a[4][4]之前的元素个数为______。

A、  38

B、  29

C、  28

D、  30

答案:C

c语言冲就完事了家人们
相关题目
11.设有int a=2,b=3,c=4,d;,则执行d=(a>0?b:c);后d的值为______。

A.   2

B.   3

C.   4

D.   5

https://www.shititong.cn/cha-kan/shiti/0005e1ce-a8fb-dfe8-c044-ce3414c8e901.html
点击查看答案
13.while( )和下列_______等价。

A.   while (leap!=0)

B.   while (5)

C.   while (leap==0)

D.   while (0)

https://www.shititong.cn/cha-kan/shiti/0005e1ce-a8fb-3bd8-c044-ce3414c8e901.html
点击查看答案
6.已知int x=6,y=4,z=5;,执行语句y=z,z=x,x=y;后,变量x的值是______。

A.   0

B.   5

C.   6

D.   7

https://www.shititong.cn/cha-kan/shiti/0005e1ce-a8fb-8228-c044-ce3414c8e901.html
点击查看答案
14.执行以下程序段后,输出的结果是______。
int a,b=0;
for(a=1;a<=5;a++)
{
if(b>=5) continue;
b=b+a;
}
printf( );

A.   6,15

B.   6,6

C.   3,6

D.   4,15

https://www.shititong.cn/cha-kan/shiti/0005e1ce-a8fc-8bc8-c044-ce3414c8e901.html
点击查看答案
16.以下对二维数组b的定义,正确的是______。

A.   int b[3..4];

B.   int b(3,4);

C.   int b[3][4];

D.   int b(3..4);

https://www.shititong.cn/cha-kan/shiti/0005e1ce-a8fb-9998-c044-ce3414c8e900.html
点击查看答案
17.字符串"A"和字符常量'A'各占用______个字节的内存空间。

A.   1,1

B.   1,2

C.   2,1

D.   2,2

https://www.shititong.cn/cha-kan/shiti/0005e1ce-a8fb-ef88-c044-ce3414c8e900.html
点击查看答案
4.设有整型变量x,y,下列选项中,与表达式x*y/5值相同的表达式是______。

A.   x/5*y

B.   (x*y)/5

C.   (x/5)*(y/5)

D.   x*(y/5)

https://www.shititong.cn/cha-kan/shiti/0005e1ce-a8fb-2c38-c044-ce3414c8e900.html
点击查看答案
2.若有定义
int a;
float b;
double c;
程序运行时输入:3 4 5<回车>
能把3 输入给变量a、4 输入给变量b、5 输入给变量c 的语句是_____。

A.   scanf("%d%f%f",&a,&b,&c);

B.   scanf("%d%lf%lf",&a,&b,&c);

C.   scanf("%lf%lf%lf",&a,&b,&c);

D.   scanf("%d%f%lf",&a,&b,&c);

https://www.shititong.cn/cha-kan/shiti/0005e1ce-a8fb-7a58-c044-ce3414c8e901.html
点击查看答案
5.设有int x=7,y;,执行语句y=( )+3;后,变量x,y的值是______。

A.   7,10

B.   8,10

C.   7,11

D.   8,11

https://www.shititong.cn/cha-kan/shiti/0005e1ce-a8fc-7c28-c044-ce3414c8e901.html
点击查看答案
20.若用数组名作为函数调用的实参,传递给形参的是______。

A.   数组元素的个数

B.   数组第一个元素的值

C.   数组全部元素的值

D.   数组的首地址

https://www.shititong.cn/cha-kan/shiti/0005e1ce-a8fa-edb8-c044-ce3414c8e901.html
点击查看答案
试题通小程序
试题通app下载