Question: Write a c++ program to create one parent with its PID number with three child processes with there PID number using fork() function where each

Write a c++ program to create one parent with its PID number with three child processes with there PID number using fork() function where each process have nter-process- communication .

For example :

parent to child 1 : "hello" child 1 to parent : "hello" Parent to child  2: "bye" Child 2 to parent : "Bye" Parent to child 3: "Hi" Child 3 to parent: "HI"

Step by Step Solution

3.53 Rating (163 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

include include include int main int parenttochild32 Array of pipes for parent to child communicatio... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer Network Questions!