This (note the comma operator):
#include int main() { int x; x = 2, 3; std::cout << x << \"\\n\"; r
Try to apply the simplistic approach just highlighting the precedence with parenthesis:
( x = 2 ), 3;
return ( 2, 3 );
Now we can see the binary operator "," working in the same way on both, from left to right.