Advertisement
Guest User

Untitled

a guest
Jul 30th, 2015
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #include<stdio.h>
  2. int main() {
  3.  
  4. struct node {
  5. int data;
  6. struct node *link;
  7. };
  8.  
  9. struct node *p, *q;
  10. p = (struct node *) malloc(sizeof(struct node));
  11. q = (struct node *) malloc(sizeof(struct node));
  12.  
  13. printf("%d, %dn", sizeof(p), sizeof(q));
  14.  
  15. return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement