projects
/
git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Merge git-gui 0.11.0
[git]
/
t
/
t4109
/
expect-1
1
#include <stdlib.h>
2
#include <stdio.h>
3
4
int func(int num);
5
void print_int(int num);
6
void print_ln();
7
8
int main() {
9
int i;
10
11
for (i = 0; i < 10; i++) {
12
print_int(func(i));
13
}
14
15
print_ln();
16
17
return 0;
18
}
19
20
int func(int num) {
21
return num * num;
22
}
23
24
void print_int(int num) {
25
printf("%d", num);
26
}
27
28
void print_ln() {
29
printf("\n");
30
}
31