p>
<p>除以零，当程序crash，呵呵。</p>
<pre data-enlighter-language="c" class="EnlighterJSRAW">void f(int n){
    printf(&#34;%d\n&#34;,n);
    n/(1000-n);
    f(n+1);
}</pre>
<p>还有这样退出递归的：</p>
<p><span id="more-3445"></span></p>
<pre data-enlighter-language="c" class="EnlighterJSRAW">void yesprint(int i);
void noprint(int i);

typedef void(*fnPtr)(int);
fnPtr dispatch[] = { yesprint, noprint };

void yesprint(int i) {
    printf(&#34;%d\n&#34;, i);
    dispatch[i / 1000](i + 1