In both the last lines of last exapmle...the value of a will be 2. | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

In both the last lines of last exapmle...the value of a will be 2.

In the last example of this page there they have given examples about pre and post increment.I feel like they. Have created a mistake , the initial value of a must be 2 in both cases. but tgey habe written it three

22nd Jul 2017, 2:12 AM
jivesh bansal
jivesh bansal - avatar
1 Antwort
+ 1
a was incremented. No mistake.
22nd Jul 2017, 3:47 AM
Rrestoring faith
Rrestoring faith - avatar