单选题
网络工程师
题号 #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.pthread_create()
B.pthread_exit()
C.pthread_yield()
D.pthread_join()