lesson 11 now it should work

This commit is contained in:
deck committed 2026-10-08 19:21:15 +02:00
1 parent 7ea0385b32
commit 5d51708d9c
1 file changed
+1 -1
+1 -1
View File
@@ -24,7 +24,7 @@ int main(void) {
for (int i = n; n > 0; n--) { for (int i = n; n > 0; n--) {
printf("%d ", nums[n - 1]); printf("%d ", nums[n - 1]);
} }
printf("%ld", sum); printf("\n%ld", sum);
free(nums); free(nums);
return 0; return 0;
} }