A PROGRAM (using fork() and/or exec() commands) where parent and child execute:
1. WRITE A PROGRAM (using fork() and/or exec() commands) where parent and child execute:
a) same program, same code.
Output:
b) same program, different code.
Output:
c) before terminating, the parent waits for the child to finish its task
Output: