Q. How many times below program will print hello?
Code:main()
{
fork();
fork();
fork();
printf("hello");
}
β
Correct Answer: (C)
8
main()
{
fork();
fork();
fork();
printf("hello");
}
You must be Logged in to update hint/solution