Question: How many times does the following program print hello? #include #include main () { int i; for (i=0; i <3; i++) fork (); printf(hello

How many times does the following program print hello? #include #include main 

How many times does the following program print hello? #include #include main () { int i; for (i=0; i

Step by Step Solution

3.33 Rating (168 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The following program print hello 8 times Fork system call is used for cre... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Operating System Questions!