C++ String Concatenation

C++ String Concatenation


C++ String Concatenation

With help of C++ String concatenation, You can concatenate (add) to or more strings together to create a new string.

For Example

Output :

Append

A string in C++ is an object, which contain functions that can perform certain operations on strings. You can also concatenate strings with the append() function:

For Example

Output :