请分析以下程序。Int main(){Pid_t pid;Pid = fork();If(pid==0)Printf("I am the child process, my process ID is%d\n",getpid());ElsePrintf("I am the parent process, my process ID is%d\n",getpid());}那么,该程序正确运行后的结果是
选项:
A:I am the child process, my process ID is 3744
B:I am the child process, my process ID is 3744
C:I am the parent process, my process ID is 3987
D:不输出任何信息
发布时间:2024-06-30 17:02:24