問題詳情
【題組】 ⑵int worktogether() {pid_t myid;if ((myid = vfork()) < 0) {fprintf(stderr, "vfork error"); exit() ; }else if (myid == 0) {printf("Child Process: %d.", getpid());return(0);}else {waitpid(myid,NULL,0);printf("Parent Process: %d.", getpid());}}int main() {worktogether();exit(0);}
參考答案
答案:C
難度:適中0.694896
統計:A(118),B(76),C(599),D(10),E(0)
用户評論
【用戶】紀重虔
【年級】高三上
【評論內容】題目缺字?
【用戶】【站僕】摩檸Morning
【年級】小一下
【評論內容】原本題目:公務人員對於服務機關所作成之行政處分不服時,應向何者提起審?(A) 原服務機關 (B) 原服務機關之上級機關 (C)公務人員保障暨培訓委員會 (D)銓敘部修改成為公務人員對於服務機關所作成之行政處分不服時,應向何者提起複審?(A) 原服務機關 (B) 原服務機關之上級機關 (C)公務人員保障暨培訓委員會 (D)銓敘部