November 30th, 2013, 7:36 pm
QuoteOriginally posted by: outrunWhy does this print 60?Because it has been programmed to do just that? QuoteIt is important to note that a postfix increment or decrement expression evaluates to the value of the expression prior to application of the respective operator. The increment or decrement operation occurs after the operand is evaluated. This issue arises only when the postfix increment or decrement operation occurs in the context of a larger expression.The tricky part is knowing when i++ kicks in, yes? GOTO harmful << ++ harmful
Last edited by
Cuchulainn on November 29th, 2013, 11:00 pm, edited 1 time in total.