Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/t/t4109/patch1.patch # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / t / t4109 / patch1.patch` 28 lines ยท 363 bytes Raw Blame History 1 diff --git a/main.c b/main.c 2 new file mode 100644 3 --- /dev/null 4 +++ b/main.c 5 @@ -0,0 +1,23 @@ 6 +#include 7 + 8 +int func(int num); 9 +void print_int(int num); 10 + 11 +int main() { 12 + int i; 13 + 14 + for (i = 0; i < 10; i++) { 15 + print_int(func(i)); 16 + } 17 + 18 + return 0; 19 +} 20 + 21 +int func(int num) { 22 + return num * num; 23 +} 24 + 25 +void print_int(int num) { 26 + printf("%d", num); 27 +} 28 +