Answer: D
Reason: The value of variable x will decrease 2 times when the loop body executes and the body will execute 4 times until the variable's value of j is 0.