Advertisement
Guest User

Untitled

a guest
Dec 14th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.36 KB | None | 0 0
  1.     row_of_memory* memory = NULL ;
  2.     int i = 5;
  3.     i = add_to_list(&memory, 123, 456);
  4.     printf("the address is: %d\n", memory->address);
  5.     printf("the code from add_to_list call: %i", i);
  6.     i = add_to_list(&memory, 246, 864);
  7.     printf("the code from add_to_list call: %i", i);
  8.     printf("the other address is: %d\n", memory->next->address);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement