Code & Deploy
Code
Models
Repos
Sign in
@leroysheep
/
BookAlchemy
BookAlchemy
/
t
/
t4109
/
expect-2
Code
Commits
Pulls
CI/CD
82,037
test
bisect
jch
maint
master
next
seen
test
todo
text
23 lines
246 Bytes
Copy permalink
Copy
Raw
1
#include <stdio.h>
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