Kizspy | Question: 41
(Choose 1 answer)
Assume the variable x has been initialized to an integer value (e.g., x = 3). What does the following statement
do?
x=x+2
A. This would fail as it is a syntax error
B. Produce the value "false" because "x" can never equal "x+2"
C. Create a function called "x" and put the value 2 in the function
D. Retrieve the current value for x, add two to it and put the sum back into x