What is y displayed in the following code?
A-y is 0.
B-y is 1 because x is assigned to y first.
C-y is 2 because x + 1 is assigned to x and then x is assigned to y.
D-The program has a compile error since x is redeclared in the statement int y = x = x + 1.