how to declare char array in cpp code example Example: working with char and string c++ String and Char