This commit is contained in:
2026-06-15 09:00:38 +08:00
parent fec66377d5
commit 4640c5e02b
191 changed files with 6046 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#include <stdio.h>
#include <stdlib.h>
char* getStar(int n) {
if (n < 0) {
return "*";
} else {
return getStar(n - 1);
}
}
int main() {
int n = 5;
printf("%s\n", getStar(n));
return 0;
}