0
Output of C code
Can someone explain the output of this C code? I am having trouble understanding the operator precedence in this example. https://code.sololearn.com/c4N689vprQit/#c
2 Answers
+ 4
Comma operator works from left to right and the final result is the rightmost expression .
+ 1
Ah, I see, ok, that makes sense, thank you Hima.