单选题 若有说明 int a[4][5];,则对a数组元素的正确引用是( )。If there is a description of int a[4][5]; , the correct reference to an array element is ( ).

A、 a(2)(1)
B、 a[3][5]
C、 a[1+1][4]
D、 a[1,3]
下载APP答题
由4m***nd提供 分享 举报 纠错

相关试题

单选题 以下标识符中,不合法的是( )。 (Among the following identifiers, the one that is invalid is ( ).)

A、4d
B、_8_d
C、Int
D、key

单选题 下列语句中,符合语法的赋值语句是( )

A、a=b=a+5;
B、a=a+b=5;
C、a=(7+b,b++=5,a+7);
D、a=c+(++b)=a+5;

单选题 逻辑运算符两侧运算对象的数据类型( )。 (The data type of the operand on both sides of the logical operator are ()。)

A、只能是 0 或 1 (Can only be 0 or 1)
B、只能是0或1 (Can only be 0 or 1)
C、只能是 0 或非 0 正数 (Can only be 0 or positive numble)
D、

都行

单选题 设以下变量均为int型,则值等于10的表达式是( ) (If the following variables are all of type int, then the expression whose value equals 10 is ( ).)

A、(x=y=5,x+y,x+5)
B、(x=y=5,x=x+y,x+5)
C、(x=5,x+5,y=0,x+y)
D、(y=5,y+5,x=0,x+y)

单选题 C语言程序中可以对程序进行注释,注释部分可以用什么符号括起来?

A、{ 和 }
B、[和 ]
C、*/ 和 /*
D、/* 和 */

单选题 对于语句:f=(2.0,1.0,0.0),(3.0,4.0,5.0);的判断,( )是正确的。

A、语法错误
B、f为5.0
C、f为0.0
D、f为2.0

单选题 按照标识符的要求,( )不能组成标识符。

A、大小写字母
B、下划线
C、连接符
D、数字字符

单选题 下列实型常量,错误的是( )。 (Among the following real number constants, the incorrect one is ( ).)

A、2.2f
B、-2.2E-2
C、e2
D、-3.0