Question: Do it in LINUX ONLY A Process creates a child process. Child process will print out hello 0 hello 1 ..... 1 line per second.
Do it in LINUX ONLY
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, don't 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).
Output should look like

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