fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. string s = "hello";
  7. // string p = s + 4;
  8. s += 4;
  9. cout << s << endl;
  10. return 0;
  11. }
Success #stdin #stdout 0s 4304KB
stdin
Standard input is empty
stdout
hello