Question: Write the C Program in which the parent process will create the child process using the fork() system call. Following functionality be performed in the
Write the C Program in which the parent process will create the child process using the fork() system call.
Following functionality be performed in the parent and child process.
* In parent process you have to display your name, roll no and academic program at Virtual University.
* Inthe child process you have to execute the binary executable “pwd'’ by using execlp() system call to display the current working
directory.
Following is the screenshot of your program, you have to perform the following steps in your screenshot.
* In screenshot firstly compile your program.
* Then run the program.
Step by Step Solution
3.47 Rating (157 Votes )
There are 3 Steps involved in it
The detailed ... View full answer
Get step-by-step solutions from verified subject matter experts
