Why do c++ inbuilt string functions return a reference to an object?
I was looking in place the c++ normal library and ran into the String class as well as noticed that the assignment owner returns a reference to help an object.Ex: string& operator= ( const string& str ); Why can we ought to use “string&” Why return any reference One more …