+ 1

why this program gives me (4=13) OUTPUT i don't know if you know then explain...🙂

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

15th Feb 2022, 5:05 PM
Davinder Kumar
Davinder Kumar - avatar
2 Answers
+ 1
1+3+"="+1+3 after string "=" the plus sign will be used as + (String concatenation) operator, The rest will be considered as string
15th Feb 2022, 5:29 PM
Mohamed
Mohamed - avatar
0
happy to know this....Thank you :)
15th Feb 2022, 5:33 PM
Davinder Kumar
Davinder Kumar - avatar