Consider the following C program is executed on a Unix/Linux system:
The total number of child processes created is ________.
c
Operating Systems (OS)System Calls, Processes, Threads, InterProcess CommunicationNAT1 markMedium
1#include<unistd.h>
2int main( )
3{
4 int i;
5 for (i = 0; i < 10; i++)
6 if (i % 2 == 0) fork( );
7 return 0;
8}
9A GATE question every morning
One real past-paper question every morning for your branch, answer hidden until you tap. Free on Telegram.