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

User Jtm
by
6.2k points

2 Answers

7 votes

the answer to your problem is: prefix + suffix

User Kviktor
by
6.0k points
6 votes
prefix + suffix

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