The following C program is executed on a Unix/Linux system :
- #include<unistd.h>
- int main()
- {
- int i;
- for(i=0; i<10; i++)
- if(i%2 == 0)
- fork();
- return 0;
- }
The total number of child processes created is ________________ .
The frequency analysis counts 7 GATE CSE questions on Fork System Call between 2005–2026. 4 of them since 2016. See how it scores below, then practise Operating System previous year questions.
Combined topic value score 52.9/100 — the same transparent four-part weighting used across the archive, not a hand-assigned priority. HIGH
These 4 questions are previous year questions on Fork System Call, checked and linked to this topic.
Answer at least one question to submit.
Sign in to send feedback (it takes under a minute), or create a free account.
Create a free account to keep your practice history, see where you are weak and continue where you left off.