+ 1

Explain the following simple code:

Code is here: https://code.sololearn.com/cZ7zYtf1hSb1/?ref=app

4th Nov 2018, 3:07 AM
Sumit kumar Patel
Sumit kumar Patel - avatar
5 Answers
+ 2
A is 2. B=a incremented C=a incremented At the end of it all a=4...
4th Nov 2018, 4:14 AM
Mensch
Mensch - avatar
+ 2
Thanks Tyrant, now, this one is realky tricky ,please try it once and explain it if you got it. https://code.sololearn.com/cvwOm919qJjX/?ref=app it would be great if you explain it. :)
4th Nov 2018, 5:27 AM
Sumit kumar Patel
Sumit kumar Patel - avatar
+ 1
4th Nov 2018, 5:28 AM
Sumit kumar Patel
Sumit kumar Patel - avatar
+ 1
Problem Solved . It was garbage value that was assigned to var b.
4th Nov 2018, 10:02 AM
Sumit kumar Patel
Sumit kumar Patel - avatar
0
I'll answer your question in the messenger..make sure you have the latest version of sololearn..
4th Nov 2018, 5:50 AM
Mensch
Mensch - avatar