对数组 int arr[] = {2, 6, 3, 5, 4, 8, 1, 0, 9, 10} 执⾏ sort(arr, arr+10),则执⾏后arr 中的数据调整为 {0, 1, 2, 3, 4, 5, 6, 8,9, 10} 。
sort(arr, arr+10)
请登陆后查看