Increment and decrement error

void main()
{
int x=1,y=1;
x++=y;
printf(“%d”,x);
}


Tutorial answer:
Error Lvalue required
Debugging solution:
++/-- it is apply only to the right sight not left sight ,if we give like that x=y++; then it will execute,

Related post