how to perform pre-inrement in long expression ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how to perform pre-inrement in long expression ?

a=5; b=++a + ++a + ++a; output: b=22; How ?

16th Sep 2020, 5:54 PM
Riyaz Ali
Riyaz Ali - avatar
2 Answers
+ 4
Its Compiler dependent on different Compiler of ide it will give different Output
16th Sep 2020, 6:03 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 3
Include the language in question tags.
16th Sep 2020, 6:04 PM
Kevin ★