Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct list{
- int a,b,c;
- struct list *next, *previous;
- }
- 1) struct list *ptr = (struct list*)malloc(sizeof(struct list*));
- 2) struct list *ptr = (struct list*)malloc(sizeof(struct list));
- struct list *ptr = (struct list*)malloc(sizeof(struct list*));
- struct list *ptr = (struct list*)malloc(sizeof(struct list));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement