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
6 Likes
Answer
x=0, y=0
Answered By
1 Like
int y = --x;
Which one of the following is true?
6 Likes
x=0, y=0
Answered By
1 Like