I have below some code in C which uses the fork() system call, but I am just confused: how do I go about
solving what it does:
int main()
{
    fork();
    fork() || fork() && fork();
    fork();
    printf("ämit");
}
fork() && fork() || fork(); is evaluated some thing like this below:
       fork()
      /      \
    0/        \>0
 || fork()     && fork()
     /\            /   \
    /  \         0/     \>0
   *    *     || fork()  *
                /   \
               *     *
I need same kind of tree for fork() || fork() && fork(). Can anyone tell me how I should achieve it?
 
     
     
    