Sunday, July 14, 2024 11:46

Posts Tagged ‘incrementing operator’

Incrementing operator

Thursday, January 5th, 2017

One of the most used operations in programming is incrementing a variable’s value. Incrementing operator is composed of two plus signs: ++ (and has two forms), or a variation of the following two operators: += and =+.

Lets consider the following example:

In the above example, we are assigning a variable the result of adding 1 to its own value.… Read more

Follow the white rabbit