Take FREE!! Online Cocubes Mock Test to Crack various Companies Written Exams.
Get Off-Campus Placement Jobs Info !!!
Take 30+ FREE!! Online Arithmetic Aptitude Mock test to crack any Exams.

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!