Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

declaring strings c++

std::string str = "hello world"; 
char *str = "hello world";
char str[] = "hello world"; 
char str[11] = "hello world"; 
 
PREVIOUS NEXT
Tagged: #declaring #strings
ADD COMMENT
Topic
Name
8+7 =