FOR 0= THE COMPLETE EXECUTION OF FUNCTION g WITH W=0 PRINTS 0.
FOR 6 : a. z=w executed in g() and 0 stored in Z then preempted
b .w=3 executed in f() then g() gives 6.
FOR 8:
a. z=w executed in g() and 0 stored in Z then preempted
b here w=3 then w=4 executed in f() then g()gives 8
FROM HERE OPTION C IS CLEAR HOW EVER LETS DERIVE ..
FOR 9: w=3 in f() thne stored in z in g()
then 2nd statement of g() gives 9
for 11: w=3 in f() thne stored in z in g()
then w=4 in f() executed.
then 2nd statement of g() gives 11
for 12: w= 3 then w=4 in f() executed
then g() give 12
hence C is the ans