+ 4
comma operator evaluates left expressions, discards results and returns last expression printf((printf("2"), printf("3"), "4")); prints "234" https://en.cppreference.com/w/cpp/language/operator_other
27th Dec 2018, 2:15 PM
Mert Yazıcı
Mert Yazıcı - avatar
+ 3
Because that's the last number among these. What are you trying to achieve here ?
27th Dec 2018, 12:25 PM
dρlÏ…Ń•ÏlÏ…Ń•
dρlÏ…Ń•ÏlÏ…Ń• - avatar
+ 1
the bracket operator has higher precedence than assignment operator. the expression within bracket operator is evaluated from left to right but it is always the result of the last expression which gets assigned.
27th Dec 2018, 1:02 PM
MO ELomari
MO ELomari - avatar