Q:why the value of var is not updating after the decrement. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Q:why the value of var is not updating after the decrement.

var=10; var=var--; https://code.sololearn.com/cH7bNHISgK9w/?ref=app

25th Jan 2022, 6:40 AM
Saumya Mishra
Saumya Mishra - avatar
2 Answers
+ 1
Rakhi Mittal thanks for correcting me. But I want to know the working of the expression 'var=var--'
27th Jan 2022, 1:27 PM
Saumya Mishra
Saumya Mishra - avatar
0
https://code.sololearn.com/c8Zetr9iz7vq/?ref=app here you do some basic mistakes
26th Jan 2022, 9:12 AM
Rakhi Mittal