Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main() {
- struct node {
- int data;
- struct node *link;
- };
- struct node *p, *q;
- p = (struct node *) malloc(sizeof(struct node));
- q = (struct node *) malloc(sizeof(struct node));
- printf("%d, %dn", sizeof(p), sizeof(q));
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement