← Operating System 🟡 Medium 📋 Sanfoundry

The following program results in the creation of? main() { if(fork()>0) sleep(100); }

Question #556 of 1,002+ in Operating System

📝 Question #556

The following program results in the creation of? main() { if(fork()>0) sleep(100); }

⌨️ Press A B C D to select

All Options & Correct Answer

A an orphan process Correct
B a zombie process
C a process that executes forever
D none of the mentioned

📋 Question Details

📚
Subject
Operating System
🎯
Difficulty
Medium
📅
Year
📋
Source
Sanfoundry

📤 Share This MCQ

📚 Want More?

Practice Operating System MCQs

1,002+ questions with detailed answers