What is ment by increment operator | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1
21st Sep 2018, 12:38 AM
VISHAL DHANURE
VISHAL DHANURE - avatar
2 Answers
+ 1
thank superis
21st Sep 2018, 5:55 PM
VISHAL DHANURE
VISHAL DHANURE - avatar
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
26th Sep 2018, 9:05 AM
PARTH DHULLA
PARTH DHULLA - avatar