✏️ 纠错
第 193 题 / 共 201 题
第2 题 下列C++语言代码,能够安全地输出arr[5] 的值。

📝 题目解析

答案:×

考纲知识点:数组边界

解析:arr[5]的下标为0~4,并不包括5,输出arr[5]会导致数组越界访问。