fork download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. char *fun()
  5. {
  6. char *a="123";
  7. return a;
  8. }
  9.  
  10. int main(void) {
  11. // your code goes here
  12.  
  13. char *s=fun();
  14. puts(s);
  15. return 0;
  16. }
  17.  
Success #stdin #stdout 0s 9432KB
stdin
Standard input is empty
stdout
123