Hi ,

In below code i want to the evaluation of expression.

I am trying to know like , when will x be incremented and y will be incremented and on what basis.


Code:
#include <stdio.h>

int main()
{
        int x=20,y=35;
        x=y++ + x++;
        y=++y + ++x;
        printf("%d %d\n",x,y);
        return 0;
}
thanks in advance