Page 1 of 1

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

Posted: Mon Jun 06, 2022 4:37 pm
by answerhappygod
How Many Times Does The Following Program Print Hello Include Include Main Int I For I 0 I 3 I Fork P 1
How Many Times Does The Following Program Print Hello Include Include Main Int I For I 0 I 3 I Fork P 1 (49.83 KiB) Viewed 32 times
How Many Times Does The Following Program Print Hello Include Include Main Int I For I 0 I 3 I Fork P 2
How Many Times Does The Following Program Print Hello Include Include Main Int I For I 0 I 3 I Fork P 2 (37.59 KiB) Viewed 32 times
How many times does the following program print hello? #include #include main() { int i; for (i=0; i<3; i++) fork(); printf("hello\n"); } O a. 3 O b. None of the mentioned O c.5 O d. 8.
Second chance page-replacement algorithm is an approximation of O a. LFU algorithm O b. MFU algorithm O c. LRU algorithm O d. FIFO algorithm