Advertisement
rfmonk

alloc_dynamic_ex.c

Jul 23rd, 2014
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.17 KB | None | 0 0
  1. {
  2.      struct foobar *ptr
  3.          = (struct foobar *) malloc (sizeof (struct foobar));
  4.      ptr->name = x;
  5.      ptr->next = current_foobar;
  6.      current_fubar = ptr;
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement