I dont understand, running this code on ideone.com shows create much
more than a 50 times????

On Sep 4, 10:47 pm, PremShankar Kumar <[email protected]> wrote:
> #include <unistd.h>
> #include<iostream>
>
> using namespace std;
>
> int Fork()
> {
> cout<<"\nCREATE \n";
> return fork();}
>
> int main()
> {
> Fork();
> Fork() && Fork () || Fork ();
> Fork ();
>
> }
>
> Ans:- 19
>
> Regards,
> Prem
>
>
>
> On Sat, Sep 4, 2010 at 11:02 PM, Maria <[email protected]> wrote:
>
> > Bt then the choices provided are
>
> > a. 15
> > b. 19
> > c. 21
> > d. 27
> > e. 31
>
> > --
> > 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]<algogeeks%2bunsubscr...@googlegroups 
> > .com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/algogeeks?hl=en.

-- 
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