+ 1
C++ question
Anyone know why? https://www.sololearn.com/post/62350/?ref=app
3 odpowiedzi
+ 3
You are using + on characters, not on strings. Characters are basically implemented as numbers (their ascii code), so the result is a number.
+ 1
Zen How is it possible to sum chars/strings in c++?
+ 1
I suppose you mean concatenate them ?
https://code.sololearn.com/cvRcSrUrzKpv/?ref=app