voben
04/16/2020, 7:34 PMstart += 1 // expr1
start++ // expr2
streetsofboston
04/16/2020, 7:36 PMstreetsofboston
04/16/2020, 7:37 PMstart += 1
increases start by 1, but this whole line is a statement, not an expressionstreetsofboston
04/16/2020, 7:37 PMstart++
also increases start by 1, but this whole line is an expression, returning the value of start
before start is increased by one.voben
04/16/2020, 7:41 PMDavid Eriksson
04/17/2020, 7:47 AM