Question: 12 #include 2 #include 3 4 int main () 5 { 6 int counter = 0; 7 pid_t id = fork(); 8 while(counter <
12 #include 2 #include 3 4 int main () 5 { 6 int counter = 0; 7 pid_t id = fork(); 8 while(counter < 10) 9 { 10 std::cout < < counter < < " "; 11 12 13 14 } counter++; return 0; 15 In the above code snippet, line ______ is the first complete line of code that a child process will execute after it is spawned.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
