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