第20585题 单选题
补全有n个int类型元素数组从小到大冒泡排序的内层for循环横线处代码?

下方为有n个int类型元素数组从小到大冒泡排序的代码:

void BubbleSort(int array[], int n) {
    for (int i = n; i >= 2; i--)
        for (__________) // 在此处填入代码
            if (array[j] > array[j + 1]) {
                int t = array[j];
                array[j] = array[j + 1];
                array[j + 1] = t;
            }
}
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析