- 1
What is ment by increment operator
3 odpowiedzi
+ 1
thank superis
0
Increment Operators
An increment or decrement operator provides a more convenient and compact way to increase or decrease the value of a variable by one.
For example, the statement x=x+1; can be simplified to ++x;
Example:
int test = 5;
++test; // test is now 6