Q2) Using the program in Figure 2, identify the values of pid at
lines A, B, C, and D. (Assume that the actual pids of the parent
and child are 2600 and 2603, respectively.) Give a brief
explanation.
#include <sys/types.h> #include <sys/wait.h> #include
<stdio.h> #include <unistd.h>
int main() { pid_t pid, pid1; /*fork a child process*/
pid = fork(); if (pid < 0) { /* error occurred*/ fprintf(stderr,
"Fork Failed"); return 1; } else if (pid == 0) { /*child...