how to return a word from function as a char in c++ code example Example: working with char and string c++ String and Char