public class AddOpTest {
public static void main (
String arg []){
int i = 4, j=2, k= 1;
k = k++ + -i++ - ++i - j++;
System.out.println("The value of k is " + ++k);
}
}
The value of k is 2
This is really confusing for me ,can anyone explain the sequence of operations.
-Arun