A few improvements to the C code.

This commit is contained in:
krahets
2023-10-27 01:13:36 +08:00
parent 0e10274bb4
commit bd8cda325e
5 changed files with 21 additions and 18 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ void selectionSort(int nums[], int n) {
}
}
/* 主函数 */
/* Driver Code */
int main() {
int nums[] = {4, 1, 3, 1, 5, 2};
int n = sizeof(nums) / sizeof(nums[0]);