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

Please explain fork() system call?

0 Answers  


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

0 Answers  


What are the system calls used for process management:

5 Answers  


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

3 Answers  


set-user-id is related to (in unix)

1 Answers  






What is ipc in unix?

0 Answers  


How can a parent and child process communicate?

3 Answers   TCS,


How to know whether the message queue is empty or not.

1 Answers   Fibcom, HCL,


What is i-node numbers?

0 Answers  


what is the process id for kernell process

3 Answers  


Explain how do you execute one program from within another?

0 Answers  


what is the very first process created by kernell

5 Answers  


Categories