fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4.  
  5. // your code goes here
  6. int main()
  7. {
  8. // char s1[6] = "Hello";
  9. // char s2[6] = "World";
  10. // char s3[13] = s1 + s2;
  11. string s1 = "Helloo";
  12. string s2 = "World";
  13. string s3 = s1 + s2;
  14. cout<<s3;
  15. return 0;
  16. }
  17.  
Success #stdin #stdout 0.01s 5536KB
stdin
Standard input is empty
stdout
HellooWorld