Give the output of the following program main() {int ret; ret=fork();ret=fork();ret=fork();ret=fork(); if(!ret) printf("sun"); else printf("solaris");

Showing Answers 1 - 1 of 1 Answers

Jayc

  • Mar 16th, 2006
 

8 times sun & 8 times solaris .. the order will be random

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions