Operating System :: Basic Concepts (OS Structures ) - Discussion
Home > Operating System > Basic Concepts (OS Structures ) > MCQs Questions Discussion
10 / 29
Choose the correct option.
Consider the following program
void main () {
int i = 7
if (0 = = fork ())
i + = 10;
else {
Wait (0);
printf ("d",i);
}
}
AThe statement i + = 10 is executed by the child only
BThe statement i + = 10 is executed by the parent only
CThe child can start executing, only after the termination of the parent process
DNone of these
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
No Discussion on this question yet!