Why not 10 is 6?
CodePudding user response:
Comma is different on both sides of the part, the scope of=just before a commaCodePudding user response:
In all of the operators, the comma is the lowest priority,CodePudding user response:
Will not because the comma expression, computed from right to left?CodePudding user response:
Y=(x=a + b), b + cThis kind of writing is equivalent to:
(y=(x=a + b)), (b + c)
CodePudding user response:
According to your idea should write:Y=(x=a + b), (b + c)
Because of the comma operator in the c language is the lowest priority