Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

different way to print string in c++

        string name("Alice");
        string name2 = ("Hafsa", "Mona"); // last one will be print
        string name3{"Sona"};
		string nam4 = "Selena";
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #print #string
ADD COMMENT
Topic
Name
7+4 =