What does this do?
int x = 1;
int y = 2;
int z = 3;
x = y = z;
I have come across multiple of this type of thing in a few open source projects and have always been confused by them. By them I mean the = operator being used twice on three integers i.e. x = y = z;
. I need to understand this. Thanks!