Get Off-Campus Placement Jobs Info !!!
Programs asked in Mettl Coding Round
Click To Practce List of Programs asked in Nagarro !!!

Societe Generale Written Test Qs.(Operating System) :: Basic Concepts (OS Structures ) - 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 :: Wipro Societe Generale

Post Your Answer Here:     

No Discussion on this question yet!