arey Dude before child process gets killed, your parent gets killed and it
returns to shell

On Thu, May 24, 2012 at 8:26 AM, Rajesh Kumar <[email protected]>wrote:

> #include<stdio.h>
> main()
> {
> fork();
> fork();
> fork();
> printf("Hello Word\n");
> }
>
> output ---
> rajeshkumar@rajeshkumar-laptop:~$ ./a.out
> Hello Word
> Hello Word
> Hello Word
> rajeshkumar@rajeshkumarr-laptop:~$ Hello Word
> Hello Word
> Hello Word
> Hello Word
> Hello Word
>
>
> Why it is not printed continously?
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>



-- 
Thanks and Regards,
Sumit Mahamuni.

-- So once you do know what the question actually is, you'll know what the
answer means.
-- Perhaps the most important principal for good algorithm designer is to
refuse to be content. - Aho, Hopcroft and Ullman.
-- I love deadlines. I like the whooshing sound they make as they fly by. -
D. Adams

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to