how to use string in cpp code example
Example: declaring strings c++
std::string str = "hello world";
char *str = "hello world";
char str[] = "hello world";
char str[11] = "hello world";
std::string str = "hello world";
char *str = "hello world";
char str[] = "hello world";
char str[11] = "hello world";