char array to store string c++ code example Example: working with char and string c++ String and Char