第31045题 单选题
以下C++代码中,二维数组的定义语句符合C++标准语法的是?

假设无编译器扩展支持变长数组特性,判断下列语句的合法性

A

int arr[2][];

B

int n = 3; int arr[2][n];

C

int arr[][3];

D

int arr[2][3] = {1, 2, 3, 4};

程序运行统计
暂无判题统计
提交0次 正确率0.00%
答案解析