+ 1
How the expression is evaluating?
According to precedence rule of C, increment/decrement operators are evaluated right to left. Following this rule I predicted the output of this snippet as: 5 5 4 But the actual output is: 5 5 5 I'm not getting how this expression is being evaluated. Please help me to do so. Case is not the same while using 16-bit compiler like TurboC. The output in this case is: 5 4 4 https://code.sololearn.com/cA2syWgeYp4m/?ref=app
3 Réponses
+ 3
Does it mean that prediction of output of some code like that is only conmpiler specific?
~ swim ~