how to declare stings 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";