fork download
  1. #include <iostream>
  2. #include <string>
  3. using namespace std;
  4.  
  5. int main() {
  6.  
  7. auto s1 = "hello";
  8. cout << s1 << endl;
  9.  
  10. string s2 = "hello";
  11. cout << s2 << endl;
  12.  
  13. return 0;
  14. }
Success #stdin #stdout 0s 3228KB
stdin
Standard input is empty
stdout
hello
hello