fork(2) download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. typedef struct node *link;
  5.  
  6. struct node{
  7. int item;
  8. link next;
  9. };
  10.  
  11. int main(void) {
  12. link l = malloc(sizeof(struct node));
  13. l->next = NULL;
  14. return 0;
  15. }
  16.  
Success #stdin #stdout 0s 2284KB
stdin
Standard input is empty
stdout
Standard output is empty