string copy in cpp

Solutions on MaxInterview for string copy in cpp by the best coders in the world

showing results for - "string copy in cpp"
Melvin
14 Jul 2016
1//use '=' to copy string
2string s1={"Hello"};
3string s2;
4s2=s1;	//now s2 will have a copu s1
similar questions
queries leading to this page
string copy in cpp