Sprout new for help, the answer is what is 2 0, + + I not add one? Why direct plus 2?
CodePudding user response:
The compiler is not the same as
Estimation is performed first r++ (expression has a value of 0, r since the increase to 1), and then perform + + I (I first since increased to 2, the value of the expression of 2)
CodePudding user response:
reference 1st floor qybao response: compiler is not the same as Estimation is performed first r++ (expression has a value of 0, r since the increase to 1), and then perform + + I (I first since increased to 2, the value of the expression of 2) + + I priority should not higher than i++? Why will perform r++ first? CodePudding user response:
This is cout Namely & lt; Of course, the different compiler & lt; CodePudding user response: & Necessary ah See: CPP. Sh/2 cvth5 CodePudding user response:
reference qybao reply: 3/f this is cout Namely & lt; Of course, the different compiler & lt; Got it, thank you bosses CodePudding user response:
I think reference qybao reply: 3/f this is cout Namely & lt; Of course, the different compiler & lt; CodePudding user response: refer to 6th floor abcd7038 response: if not Quote: refer to the third floor qybao response: This is cout Namely & lt; Of course, the different compiler & lt; No, first calculated from right to left, then output from left to right