I have the program given below
In c the postfix or prefix
++ operators require that the operand is a modifiable lvalue. Both operators perform an lvalue conversion, so the object is no longer an lvalue.
C++ also requires that the operand of the prefix
++ operator is a modifiable lvalue, but the result of the prefix
++ operator is an lvalue. This is not the case for the postfix
(++(++i)); compiles as the second operation gets an lvalue, but