fork download
  1. #include <stdio.h>
  2. #include <string.h>
  3.  
  4. struct foo {
  5. char *c;
  6. } bar;
  7.  
  8. char* myfunc () {
  9. return bar.c;
  10. }
  11.  
  12. int main(void) {
  13. char key[] = "apple";
  14. char buffer[80];
  15. strcmp (myfunc(), buffer);
  16.  
  17. return 0;
  18. }
  19.  
  20.  
Success #stdin #stdout 0s 2244KB
stdin
Standard input is empty
stdout
Standard output is empty