int a = 10; System.out.println(a-- * a--);
what will be the output of these print statement and why??
in post decrement we actually observe that
- the value is used before getting change
but here I am getting in one of the operator (a--) is 10 and in another operator (a--) with which we are multiplying is getting 9.
overall the output which I came across is 100 but the actual output is 90
please explain how?