3
I have a doubt about this expression:
y-=++x
I can divide this expression in two?
x= x+1
and then?
3
I have a doubt about this expression:
y-=++x
I can divide this expression in two?
x= x+1
and then?
4
I don’t know if this is what you’re looking for.
As you’ve already shown one who is
x = x+1;
below this equation just put this one that will work normally
y-=x;
or y = y- x;
2
In fact, although it works, it is hardly readable in this way and can mislead the interpretation. It would be better so:
x++;
y -= x;
Browser other questions tagged c c++ operators
You are not signed in. Login or sign up in order to post.