Question: A Process creates a child process. Child process will print out hello 0 hello 1 ..... 1 line per second. After a certain number of
A Process creates a child process. Child process will print out hello 0 hello 1 ..... 1 line per second. After a certain number of seconds(user input), it kills itself WITH signal mechanism ONLY, dont use exit() on the child. You can use alarm() which may show the Alarm clock. (Alarm clock may not appear depending on your environment. It is not required). Your output should look like ...

hello 0 hello 1 hello 2 hello3 hello 4 ...etc Alarm clock may or may not appear output1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
