第19851题 单选
执行给定的C++代码段,程序的输出结果是什么?
int arr[5] = {1, 2, 3, 4, 5};
int p = arr[1];
cout << (p + 2) << endl;
A

1

B

2

C

3

D

4

程序运行统计
暂无判题统计