Computer Science, asked by arushjain23, 5 months ago

Write the output : [2]

int x = 10, y = 20;

x = y+ + +

+ +x +

++x +

- -y;

System.out.println (x + “ ” + y);​

Answers

Answered by svprithuprathu
1

Answer:

First of all, the question itself is a bit confusing....

can you give it a bit more clearly?

I mean there must be semicolon (;) at the end of every statement, but there's only a +.

If there's any doubt in the increment and decrement operators for ya. Please learn it...

Similar questions