0

How to add two strings

15th Jan 2017, 1:12 PM
Mallarapu Pramod Kumar
Mallarapu Pramod Kumar - avatar
3 odpowiedzi
+ 1
in js you concatenate (+) idk about the other languages
15th Jan 2017, 1:13 PM
totoro
totoro - avatar
0
ok thank i want ans for c++ thanks for responding
15th Jan 2017, 1:14 PM
Mallarapu Pramod Kumar
Mallarapu Pramod Kumar - avatar
0
string s1="123"; string s2="456"; string s3; s3=s1+s2; //s3="123456"
15th Jan 2017, 2:48 PM
A M ~ Smart !
A M ~ Smart ! - avatar