Consider the following segment of codes related to process creation. How many…
PYQ Coal India Management Trainee CBT 2017
Consider the following segment of codes related to process creation. How many times the message “child process created” will be printed?
#include <stdio.h>
void main()
{
fork();
fork();
fork();
printf("child process created");
}
- A.
9
- B.
7
- C.
8
- D.
3
Attempted by 1006 students.
Sign up free to check your answer
Sign up freeLoading lesson…

