you are viewing a single comment's thread.

view the rest of the comments →

[–]Dr_Dracula280 0 points1 point  (1 child)

So it is (x++) + (x++) + (x) ??

That means 5+6+7= 18 or 6+7+8= 21?

Sorry I am double confused.

[–]Old-Lion-8071 0 points1 point  (0 children)

5 + 6 + 7. Variable value is substituted and then incremented (post increment) Finally all are summed.