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/expect-2 # 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 / expect-2` 23 lines ยท 246 bytes Raw Blame History 1 #include 2 3 int func(int num); 4 void print_int(int num); 5 6 int main() { 7 int i; 8 9 for (i = 0; i < 10; i++) { 10 print_int(func(i)); 11 } 12 13 return 0; 14 } 15 16 int func(int num) { 17 return num * num; 18 } 19 20 void print_int(int num) { 21 printf("%d", num); 22 } 23