i) 3
ii) False
iii) False(++k makes k=9. So 9<=8 is false) ‘
iv) 2(++x becomes 3 ,so 10 * 3 =30%7 =2)
v) 5( here m=(n=3,8-3)=(n=3,5), so m=5, The maximum value will take)
vi) Here i=12
i + = i– + -i
here post decrement has more priority than pre decrement.
So i– will be evaluated first. Here first uses the value then change so it uses the value 12 and i becomes 11
i + =12 + –i
now i =11.
Here the value of i will be changed and used so i~ becomes 10.
i — = 12 + 10
= 22
So i =22+10
i =32
So the result is 32.