Societe Generale Written Test Qs.(Operating System) :: Basic Concepts (OS Structures ) - Discussion
Home > Freshers Archives > Societe Generale Placement Questions & Answers > MCQs Questions Discussion
162 / 224
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!