Question 19
Which of the following can be possible output of the following lines of code?
#include <stdio.h>#include <stdlib.h>
int main() { int a, pid; a = 20; pid = fork(); if (pid == 0) { printf("Parent\t %d\n", a); } else { printf("Child\t %d\n", a); a = 15; printf("Child\t %d\n", a); } return 0;}Child 20
Child 15
Parent 15Child 20
Child 15
Parent 20Parent 20
Child 20
Child 15Parent 15
Child 20
Child 15