how to define string variable in c++ code example
Example 1: how can make string value in cpp
#include <string>
string hello= "hello you thre :)";
Example 2: declaring strings c++
std::string str = "hello world";
char *str = "hello world";
char str[] = "hello world";
char str[11] = "hello world";