C++ Institute CPA-21-02 Question Answer
What happens if characters 'w', 'o', 'r', 'l' and 'd' are entered as input?
#include
#include
using namespace std;
int main()
{
string s1 = "Hello";
string s2;
getline( cin, s2 );
cout << s1 + s2;
return( 0 );
}