[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation 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!