单选题 网络工程师
题号 #2963366

请分析以下程序。
int main()
{
pid_t pid;
pid = fork();
if(pid==0)
printf("I am the child process, my process ID is%d\n",getpid());
else
printf("I am the parent process, my process ID is%d\n",getpid());}
那么,该程序正确运行后的结果是

进入在线模考

参考答案

A

答案解析

暂无解析

你可能感兴趣的试题

A.进程共享
B.进程同步
C.进程互斥
D.进程的前趋关系
A.已满的邮件槽
B.已空的邮件槽
C.未加锁的邮件槽
D.半满的邮件槽
找试题 · 找答案 · 找资料 在线模考