Hi all,
The value of x after the execution is 56. But from the looks of it i would expect it to be 55. But it seems the x++ (post increment operator) got applied before assigning value back to x. But i'm trying to work around this problem, how could x++ be executed before '=' operator. It seems to me 'x =' is totally a different statment to 'y++ + x++'?Code:int x=20,y=35; x = y++ + x++;
ssharish