fork(1) download
  1. #include <stdio.h>
  2.  
  3. struct Program {
  4. int x;
  5. };
  6.  
  7. static struct ProgramList{
  8. struct Program *program;
  9. struct ProgramList *next;
  10. } programs = {NULL, NULL};
  11.  
  12. struct ProgramList *p = &programs;
  13.  
  14. int main(void) {
  15. printf("%p %p\n", p, &programs);
  16. return 0;
  17. }
Success #stdin #stdout 0s 1832KB
stdin
Standard input is empty
stdout
0x80496b4 0x80496b4