I have the following line of code
int i = (i = 20);
and it sets me to 20. Now my question is, are the two statements the same?
int a = 0;
int i = (a = 20);
and
int a = 0;
int i = a = 20;
Both operators will set the values ββas i = 20and a = 20. Who cares?
If they are the same, then why are there bindings for equalizing the value?
source
share