Let’s eliminate and reach to the answer-
A. True, Both P1 and P2 would print x as 2, this is necessarily true as both the processes have their own copy of variables.
B. False, for the same reason mentioned above
C. False, Since y is an auto variable hence both the threads would have there own copy of variable “y” which they would increment to 1 hence both the threads would print y as 1 and not 2.
D. True, For the reason mentioned above (C)
Hence answer happens to be only A,D [MSQ]