Please tell me the logic | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
23rd Feb 2020, 7:41 PM
Tamoghna Ghosh
1 Answer
+ 2
Thanks for posting this question. This has been a controversial problem from the very beginning. This problem is said to be dependent on the compiler you are using, but in some compiler it do not even run. The reason is that, in a single line of code you have changed the value of the variable multiple times, which is not permitted.
24th Feb 2020, 7:02 AM
Aryaman Mishra 🇮🇳
Aryaman Mishra 🇮🇳 - avatar