夜间模式
观察以下代码,它的运行结果会是怎么样呢?
#include <iostream> using namespace std; int main() { int arr[] = {1, 2, 3, 4, 5, 6, 7, 8, 9}; cout << arr[5] << endl; cout << arr[3-2] << endl; cout << arr[arr[1]] << endl; return 0; }
输入密码才能查看参考答案噢
验证