Can anyone please tell what this does and how we got this output? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Can anyone please tell what this does and how we got this output?

https://code.sololearn.com/cMQ7whO9jj2f/?ref=app

6th Dec 2021, 12:17 PM
Hemasri Kottapalli
Hemasri Kottapalli - avatar
4 Answers
+ 2
It just printing i value i and +i are here same -2 and +(-2)=-2 finally -2 and -2 only.. Line no:5 has no effect..
6th Dec 2021, 2:22 PM
Jayakrishna 🇮🇳
+ 2
6th Dec 2021, 2:49 PM
Hemasri Kottapalli
Hemasri Kottapalli - avatar
+ 1
Hope it clears... You're welcome..
6th Dec 2021, 2:57 PM
Jayakrishna 🇮🇳