working with char* in cpp code example
Example 1: c++ declare char
// syntax:
// char <variable-name>[] = "<string/char-you-want-to-store>";
// example (to store 'Hello!' in the YourVar variable):
char YourVar[] = "Hello!";
Example 2: working with char and string c++
String and Char