The parameter of the function should be const string &s. So that we can pass string literals or const strings to the function.