Question PRG-JAVA-0064
HardWhat is the output of this program?
public class Main {
public static void main(String[] args) {
int x = 10;
x += x++ + ++x;
System.out.println(x);
}
}
- A.
30
- B.
33
- C.
Sign up free to see the answer and a step-by-step explanation.