fork download
  1. #include <stdio.h>
  2. int main() {
  3. char *p1 = "The World is", *p2;
  4. p2 = p1;
  5. p1 = "Beautiful";
  6. printf ("%s %s\n",p1,p2);
  7. return 0;
  8. }
  9.  
Success #stdin #stdout 0s 9432KB
stdin
Standard input is empty
stdout
Beautiful The World is