how to declare the string in c++ 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";