Question: The Following program fork() a child process.Then the child process outputs the parent process ID,delivers signal SIGKILL the the parent process and after that ,
The Following program fork() a child process.Then the child process outputs the parent process ID,delivers signal SIGKILL the the parent process and after that , the child process outputs its parent process ID again. Some statements or parts of the statements are missing in the program. Please add necessary (parts of)statements to complete it (25 pts).*/
#include
/////missing here fill it statement
exit(1); default: for(i=0;;++i) { printf("%d ",i); } break; } return 0; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
