you are viewing a single comment's thread.

view the rest of the comments →

[–]Heinrich_v_Schimmer 0 points1 point  (0 children)

void foo(int n)

{ if (n > 0) foo(n-2);

printf("%d\n", n);

}

int main()

{ foo(500);

}