#include #include // string_operator_plus1.cpp using namespace std; //string gstr1; string operator+(string); int main() { string str1, str2 ,str3 ; cout << "example of string opertor+ :"; cout << "\n \t Enter Name : " ; //getline with char getline(cin, str1); cout<<"\t Enter Profession : "; //getline with string getline(cin, str2); str3 = str1 + " " + str2; cout <<"\n\t string str3 : " << str3 << endl; cout << "\t Add Title " << "\t"; cout<< operator+(str1); return 0; } string operator+(string x1) { string str; str = "Suffix Dr." ;// + x1; return (str + x1); }