76 316
Assignments Done
Successfully Done
In May 2019

Answer to Question #3315 in C++ for mukunda

Question #3315
Write a program to copy one string to another string
Expert's answer
#include <iostream>
#include <string>
using namespace std;

int main()
string str1 = "hello", str2 = "world";
str1 = str2;
cout << str1 << endl;

return 0;

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions