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

Which ipc is faster?

979


Explain a zombie?

1048


Explain how do you execute one program from within another?

972


Explain what is the process id for kernel process?

997


What is fork()?

1037


Explain the system calls used for process management?

976


Which ipc is the fastest in unix?

1000


Max relax-able permission value with out giving write permission to others?

1014


What is ipc in unix?

1011


Explain linking across directories?

958


How to write the program on full-duplex communication on bidirectional(e.g using two pipes)?

1016


Please explain fork() system call?

993


What is the condition required for dead lock in unix system?

963


Explain the advantage of executing a process in background?

935


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

916