It's just the same as with normal variables. If you want the function to modify them so that the modifications are visible to the caller you pass a pointer to the variable.
With the pointers you...
Type: Posts; User: anon
It's just the same as with normal variables. If you want the function to modify them so that the modifications are visible to the caller you pass a pointer to the variable.
With the pointers you...
What happens is that realloc may move the memory contents to some other place in memory but main won't know that. If this happens the pointer in main becomes a wild or dangling pointer.
The...