fork(2) download
  1. #include <stdio.h>
  2.  
  3. int test(){
  4. int a = 1;
  5. void* b = malloc(8);
  6. return 3;
  7. }
  8.  
  9. int main(void) {
  10.  
  11. int (*fp)(void) = &test;
  12.  
  13. int i=0;
  14. for(i; i<10; ++i)
  15. printf("%x", *(fp+i));
  16.  
  17. return 0;
  18. }
  19.  
Success #stdin #stdout 0s 2008KB
stdin
Standard input is empty
stdout
80484c080484c180484c280484c380484c480484c580484c680484c780484c880484c9