Tag: unix

为什么这个程序打印“分叉!”4次?

为什么这个程序打印“分叉!”4次? #include #include int main(void) { fork() && (fork() || fork()); printf(“forked!\n”); return 0; }