asked 115k views
5 votes
Write an expression that concatenates the string variable suffix onto the end of the string variable prefix .

asked
User Jtm
by
8.4k points

2 Answers

7 votes

the answer to your problem is: prefix + suffix

answered
User Kviktor
by
8.4k points
6 votes
prefix + suffix

Many languages overload the addition operator so that if it gets string arguments, it concatenates the strings.
answered
User Xipooo
by
8.2k points