Question: Create two child process C 1 and C 2 . Make sure that only C 2 becomes an orphan process. write a code in c
Create two child process C and C Make sure that only C becomes an orphan process.
write a code in c language
C is having ID:
C is having ID: and will become an orphan.
Parent is exiting, leaving C an orphan.
sa@cellcse:~$ C is now orphan with new parent ID:
i am getting the output like this
sa@cellcse:~$ C is now orphan with new parent ID:
its diplaying separately
rectify this and give me the correct answer.
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
