This is because of what the program does behind the scenes:
l_count + = 1; This adds the number 1 to the variable.
l_count = l_count + 1; This calls the l_count variable, reads it, adds 1 to the result, and passes it back to l_count.
l_count ++; This adds 1 to the variable after starting the line. Thus, the value is stored in another temporary variable during the execution of the line, then the value is returned, 1 is added and saved back to the original value.
Yochai timmer
source share