"23" will show 23 then why we are using "2"+"3" to show 23? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

"23" will show 23 then why we are using "2"+"3" to show 23?

9th Sep 2019, 6:05 PM
Ather Shaikh
5 Answers
+ 1
Cause this is string "str"+" str"="strstr"
9th Sep 2019, 6:07 PM
Marina Vasilyova
Marina Vasilyova - avatar
+ 1
Cause "2" and "3" not integers, it is string
9th Sep 2019, 6:11 PM
Marina Vasilyova
Marina Vasilyova - avatar
0
?
9th Sep 2019, 6:09 PM
Ather Shaikh
0
Ohh got it
9th Sep 2019, 6:11 PM
Ather Shaikh
0
Thnx are you an xpert
9th Sep 2019, 6:13 PM
Ather Shaikh