← Back to Question List
C++ Quiz #19
String Concatenation
What is the output of this code?
📄 Code
1#include <iostream>2#include <string>3using namespace std;45int main() {6 string first = "Hello";7 string second = " World";8 string result = first + second;9 cout << result << endl;10 return 0;11}