Subject-wise GATE questions

Operating Systems

11 questions and papers

GATE CS 2005 – Question 70

Multiple choice 2 marks GATE CS — Computer Science & IT 2005

Consider the following code fragment, where the variable a already holds a value before the fragment starts executing:if (fork() == 0) { a = a + 5; printf("%d,…