rve/example/example.c

14 lines
140 B
C

static int mem = 1;
int fact(int n) {
if (n == 0)
return 1;
return n * fact(n-1);
}
int main() {
mem = fact(8);
return 0;
}