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
include include include int main int parenttochild32 Array of pipes for parent to child communicatio... View full answer
Get step-by-step solutions from verified subject matter experts
