Question: [ 2 0 points ] Write a C C + + program that is able to carry out the following tasks: a ) The parent
points Write a program that is able to carry out the following tasks:
a The parent process creates two child processes, named as Alice and Bob, respectively.
b The parent prints out the process ID of Alice and Bob when the parent creates them. The output should look as follows:
From Parent: Alice ID is xxxx comment: here xxxx is Alice's PID
From Parent: Bob ID is yYyy here yYyY is Bob's PID
c The parent waits for the two children to finish their work before exiting.
d Child Alice prints out the following string, then exits.:
Hi I am Alice
e Child Bob prints out the following string, then exits:
Hi I am Bob
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
