单选题 对于如下C语言程序
int main()
{
pid_t pid;
int x=1;
pid=fork();
if(pid==0)
printf("I am the child process, x=%d\n", ++x);
else
printf("I am the parent process, x=%d\n", --x);
}
在UNIX操作系统中正确编译链接后,其正确的运行结果是
【正确答案】 A
【答案解析】