Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to create tree of processes. one parent and 3 childs.

Answer Posted / vijay kumar reddy

pid= fork();
if(pid>0)
{
fork();
}
else
printf();

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ipc port?

930


Explain the initial process sequence while the system boots up?

910


Tell me set-user-id is related to (in unix)?

868


How to get or set an environment variable from a program?

905


What is the full form of ipc?

1072


Please explain fork() system call?

928


Which ipc is the fastest in unix?

917


What is daemon?

963


Explain about daemon?

952


Explain a zombie?

988


What are two different models of ipc differentiate both?

975


What are the various schemes available in ipc?

905


Explain what are the system calls used for process management?

896


What is ipc in unix?

933


Explain the advantage of executing a process in background?

866