**Blocking Assignment Execution Order** What is the decimal value of y af…
**Blocking Assignment Execution Order** What is the decimal value of y after execution? integer x, y; initial begin x = 2; y = 5; x = x + y; y = x * 2; end
- 10
- 14
- 12
- 7
Correct answer
B. 14
Explanation
Blocking assignments ( = ) execute sequentially. First, x becomes $2 + 5 = 7$. Next, y is evaluated using the updated x : $7 \times 2 = 14$.