What the expression " x += 1" means? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

What the expression " x += 1" means?

21st Jun 2017, 4:52 AM
Vishal Suthar
Vishal Suthar - avatar
3 Antworten
+ 4
Short hand for writing: x = x + (1);
21st Jun 2017, 4:55 AM
Rrestoring faith
Rrestoring faith - avatar
+ 3
x = x + 1
21st Jun 2017, 4:55 AM
Bogdan Sass
Bogdan Sass - avatar
+ 3
Oh i see, its an incrementing expression
21st Jun 2017, 4:57 AM
Vishal Suthar
Vishal Suthar - avatar