// Example program : concatenation of strings using namespace std; #include // the standard string library #include // for cout int main(){ string a = "apple"; string b = "sauce"; string c = a + b; // concatenate the two strings cout << c << endl; // print the compound word }