Check out example codes for "operators on strings c++". It will help you in understanding the concepts better.

Code Example 1

string s1 = "Now is the time...";
 string s2 = "for all good men...";
 string s3 = s1 + s2;
 cout << "s3 is " << s3 << endl;

Learn ReactJs, React Native from akashmittal.com