repo.or.cz
/
git
/
spearce.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
builtin-mailinfo.c: check error status from rewind and ftruncate
[git/spearce.git]
/
t
/
t4109
/
expect-3
blob
cd2a475feb2280a24b05870c00f0693dd1de605b
1
#include <stdio.h>
2
3
int func(int num);
4
int func2(int num);
5
6
int main() {
7
int i;
8
9
for (i = 0; i < 10; i++) {
10
printf("%d", func(i));
11
printf("%d", func3(i));
12
}
13
14
return 0;
15
}
16
17
int func(int num) {
18
return num * num;
19
}
20
21
int func2(int num) {
22
return num * num * num;
23
}
24