Informally, lvalue is the left side value of the statement when we try to do some sort of assignment. The assignemnt is possible only to objects. If we try to assign some values to constants, we will get the 'lvalue error'.
Here,++i outputs 4 and doing 4++ is similar as doing 4 := 4 + 1, which causes lvalue error.