1.

What Is The Difference Between ++x And X++?

Answer»

The ++ OPERATOR is called the incremental operator. When the operator is placed before, the VARIABLE is INCREMENTED by 1 before it is used in the statement. When the operator is placed after the variable, then the expression is EVALUATED first and then the variable is incremented by 1.

The ++ operator is called the incremental operator. When the operator is placed before, the variable is incremented by 1 before it is used in the statement. When the operator is placed after the variable, then the expression is evaluated first and then the variable is incremented by 1.



Discussion

No Comment Found