Answers for "declaring strings c++"

C++
9

declaring strings c++

std::string str = "hello world"; 
char *str = "hello world";
char str[] = "hello world"; 
char str[11] = "hello world";
Posted by: Guest on October-19-2020

Browse Popular Code Answers by Language