Download Android App in your Android Device from Google Play Store
- Search for "Withoutbook Practice Exam Test" in Mobile/Tablet Play Store
Practice InterviewNew Search by Name or Email

Exams Attended

Make Homepage

Bookmark this page

Subscribe Email Address

Unix Interview Questions and Answers

Ques. Predict the output of the following program code
main()
{
fork(); fork(); fork();
printf("Hello World!");
}

Ans. "Hello World" will be printed 8 times.
Explanation:
2^n times where n is the number of calls to fork()
Is it helpful? Yes No

Most helpful rated by users:

©2020 WithoutBook