Question: a) 1 b) 2 c) 3 d) 4 e) 8 Question 44 (3 point) - The following pair of processes share a common variable X:

a) 1
b) 2
c) 3
d) 4
e) 8
Question 44 (3 point) - The following pair of processes share a common variable X: //Process P1 : int Y; A1 : Y=X*2; //Process P2: int Z; BI: Z =X+1; X is set to 5 before either process begins execution. As usual, statements within a process are executed sequentially, but statements in process A may interleave with statements in process B. How many different values of X are possible after both processes finish executing
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
