Question: Assume the following code and the appropriate #include statements at the top of the program. What is the first instruction to be executed by the

Assume the following code and the appropriate #include statements at the top of the program. What is the first instruction to be executed by the child after the fork? int main() { pid_t rc1; rc1 = fork(); execlp("/bin/ls", "IS", NULL); printf(" How many processes are running? "); return 0; } O int main() pid_trc1; Orc1 = fork(); execlp("/bin/ls", "IS", NULL)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
