下列C++语言代码,能够安全地输出 arr[5] 的值。
int n = 5; int arr[n] = {1, 2, 3}; std::cout << arr[5];
复制链接后可在微信、QQ、小红书等平台粘贴分享;答案与解析在题目页。