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

Explain fork() system call?

12 Answers   ASAS, IBM,


What is ln(linking)?

0 Answers  


What is Inode.

2 Answers   HCL,


How do you execute one program from within another?

4 Answers  


Describe the initial process sequence while the system boots up?

4 Answers  






Max relaxable permisssion value with out giving write permission to others?

2 Answers   IBM,


What is the very first process created by kernel?

0 Answers  


Explain how do you execute one program from within another?

0 Answers  


About ln(linking)

1 Answers   Infosys,


How can you get or set an environment variable from a program?

2 Answers  


Please explain fork() system call?

0 Answers  


what is the very first process created by kernell

5 Answers  


Categories