第28960题 单选题
在C++语言中,关于数组与指针的等价性,下列说法正确的是?

以下代码片段用于辅助分析:

#include <iostream>
using namespace std;
int main() {
    int sample_arr[4] = {10, 20, 30, 40};
    int *ptr = sample_arr;
    return 0;
}
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析