text: is there some one who can help me with some complex math expressions in 'c' programming.(details given below) please explain how the compiler calculates the following expressions and which variable get what value  1...assume x=1 i=2 j=3 k=4    x-=k*=j/=i%=5;   (please explain how this works)  2... x=5 i=4 j=3 k=2 x*=1 + (i%= 1+(j/=-1+ ++k)  3....i=j=10; i%=j=(j=5)%(i=3);  thanks in c the evaluation for an expression goes like this: evaluate the right part of expression and then the left one and i=5 returns 5 so: 1. x-=k*=j/=i%=5;  - i%=5 -> 2 and i=2  - j/=i%=5 -> j/=2 -> 1 and j = 1  - k*=j/=i%=5 -> k*= 1 -> 4  - x-=k*=j/=i%=5 -> x-=4 -> -3 and x= -3 2.x*=1 + (i%= 1+(j/=-1+ ++k)  - ++k - > 3 and k=3   - j/=-1+ ++k -> j/=-1 + 3 -> j/= 2 -> 1  -... i%= 1+(j/=-1+ ++k) -> 0  - x*=1 + (i%= 1+(j/=-1+ ++k)) -> x*= 1+0  - x = 5 3.i%=j=(j=5)%(i=3)  - i=3 -> 3 and i become 3  - j=5 -> same  - (j=5)%(i=3) 0 -> 2  - j=(j=5)%(i=3) -> j=2 -> 2 and j become 2  - i%=j=(j=5)%(i=3) -> i%= 2 -> i = 3 % 2 = 1