title: What is the meaning of fork()&&fork()||fork() in c
body: <p>I have a doubt about fork process. I have a code which is </p>
  
  <pre><code>int main(int c, char **v){
    fork();
    fork() &amp;&amp; fork() || fork();
    printf("Hello\t");
  }
  </code></pre>
  
  <p>According to me the output of the above code will be
  2<sup>4</sup>  = 16 times <code>"Hello"</code>, because each fork creates two copy of its own so the overall becomes <code>2*2*2*2</code> which are <code>16</code> times <code>"Hello"</code>.
  But it's not correct it is giving me output as <code>10</code> times Hello. What is happening here?</p>