fork download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main() {
  6. char hello[10] = "hello";
  7. char *hello2 = "hello2";
  8. char world[10] = "world";
  9. hello2 = world;
  10. return 0;
  11. }
Success #stdin #stdout 0.01s 2676KB
stdin
Standard input is empty
stdout
Standard output is empty