What will the output of the following questions:
#include <bits/stdc++.h>
using namespace std;
int main()
{
string a = "Hello";
string b = "World";
string c = b.append(a);
cout << c << endl;
return 0;
}
Hello world
World hello
WorldHello
Error
This question is part of this quiz :
String Data Structure Quiz for Beginners