# include <stdio.h> int g(int); int f(int); int f(int n) { if (n < 3) printf("haha\n"); else n = f(n-1); return n; } int g(int m) { m = m*2; return m; } int main(void) { int val; val = f(5); printf("val = %d\n", val); return 0; }
# include <stdio.h> int f(int n) { n += 2; return n; } int main(void) { int val; val = f(5); return 0; }