rve/example/example.c

15 lines
140 B
C
Raw Normal View History

static int mem = 1;
int fact(int n) {
if (n == 0)
return 1;
return n * fact(n-1);
}
2024-12-06 22:40:52 +00:00
int main() {
mem = fact(8);
2024-12-06 22:40:52 +00:00
return 0;
}