Description
Increments the value of a variable by 1.
Syntax
i++;
//this means i = i+1
Example Code
i = 2;
x = i++; // x = 3 now.
Increments the value of a variable by 1.
i++;
//this means i = i+1
i = 2;
x = i++; // x = 3 now.
Loading…