Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- row_of_memory* memory = NULL ;
- int i = 5;
- i = add_to_list(&memory, 123, 456);
- printf("the address is: %d\n", memory->address);
- printf("the code from add_to_list call: %i", i);
- i = add_to_list(&memory, 246, 864);
- printf("the code from add_to_list call: %i", i);
- printf("the other address is: %d\n", memory->next->address);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement