Computer Applications
Assuming x = 1 with the following code snippet:
int y = --x;
Which one of the following is true?
- x=1, y=1
- x=0, y=0
- x=1, y=0
- x=0, y=1
Java Operators
5 Likes
Answer
x=0, y=0
Answered By
1 Like
int y = --x;
Which one of the following is true?
5 Likes
x=0, y=0
Answered By
1 Like