下列C++语言代码,能够安全地输出 arr[5] 的值。
>1 | int n = 5; 2 | int arr[n] = {1, 2, 3}; 3 | std::cout << arr[5];
正确
错误