fork download
  1. #include<stdio.h>
  2. int main()
  3. {
  4.  
  5. char *arr="hello";
  6. printf("%s",arr);
  7. arr="";
  8.  
  9. printf("and %s",arr+2);
  10.  
  11. return 0;
  12. }
Success #stdin #stdout 0s 1832KB
stdin
Standard input is empty
stdout
helloand nd %s