#include <stdio.h>
int main ()
{
printf("Hello world\n");
fork();
printf("why is this line printed twice?\n");
return (0);
}Kodumuz bu.. Bunu derleyip çalıştırdıktan sonraHello world
why is this line printed twice?
why is this line printed twice?
şeklinde bir çıktı veriyor. Neden aynı satırı 2 defa yazdırdı ?