Find the output of C Program ?
While calculating the x value, x & y values are post incremented. So, the values of x & y are added and then incremented i.e. x=56, y=36
While calculating the y value, x & y values are preincremented, so x & y values are incremented and then added i.e x=57, y=37.
{ x=y++ + x++; } equal to
y=++y + ++x; is equal to
Output: