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



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

Answer / vijay kumar reddy

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

Is This Answer Correct ?    0 Yes 5 No

Post New Answer

More Unix IPC Interview Questions

What is the very first process created by kernel?

0 Answers  


what is the very first process created by kernell

5 Answers  


Predict the output of the following program code main() { fork(); printf("Hello World!"); }

3 Answers  


What are the process states in Unix?

11 Answers  


Explain the advantage of executing a process in background?

0 Answers  






What is the full form of ipc?

0 Answers  


How to write the program on full-duplex communication using 2 FIFOs

0 Answers  


How can a parent and child process communicate?

3 Answers   TCS,


How do you execute one program from within another?

4 Answers  


In Unix inter process communication take place using?

2 Answers  


Explain linking across directories?

0 Answers  


Explain a zombie?

0 Answers  


Categories