1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
void foo (int n, int m) { if (m == 0) exit (0); else if (n != 0) abort (); else foo (n++, m - 1); } int main (void) { foo (0, 4); }