第29058题 单选题
分析以下C语言代码,其运行后的输出结果为?

如下C语言代码段:

#include <stdio.h>
int main() {
    int nums[2][3] = {{1, 2, 3}, {4, 5, 6}};
    printf("%d, %d\n", nums[1][2], *(*nums + 1));
    return 0;
}
A

6, 2

B

6, 1

C

4, 2

D

4, 1

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