title: Why does this program print "forked!" 4 times?
body: <p>Why does this program print “forked!” 4 times?</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;unistd.h&gt;
  
  int main(void) {
  
    fork() &amp;&amp; (fork() || fork());
  
    printf("forked!\n");
    return 0;
  }
  </code></pre>