fork download
  1. #include<stdio.h>
  2. struct node
  3. {
  4. int item;
  5. struct node *link
  6. };
  7.  
  8. int main()
  9. {
  10. struct node *start,*list;
  11.  
  12. start = (sizeof(struct node));
  13. printf("%d\n",start);
  14. start =malloc(sizeof(struct node));
  15. printf("%d\n",start);
  16. start = (struct node*) printf("%d",start);
  17. printf("%d\n",start);
  18. return 0;
  19. };
Success #stdin #stdout 0s 2380KB
stdin
Standard input is empty
stdout
8
138694664
1386946649