单选题
若有定义“int a[2][3];”,以下选项中对a数组元素正确引用的是( )。
A、
a[2][!1]
B、
a[2][3]
C、
a[0][3]
D、
a[1>2][!1]
【正确答案】
D
【答案解析】
[解析] 除D选项外,其他选项的引用均是下标越界。
提交答案
关闭