title: why does fork program printf execute more time
body: <p>from the <a href="http://linux.die.net/man/2/fork" rel="nofollow noreferrer">man page of fork</a> i read fork create duplicate of parent process. But not able to understand why below program <code>printf</code> execute <strong>8</strong> times. I read <a href="https://stackoverflow.com/questions/3513242/working-of-fork-in-linux-gcc">Working of fork() in linux</a> link also.</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  int main()
  {
      fork();
      fork();
      fork();
      printf("process\n");
  }
  </code></pre>