NULL is OK, both for passing and for returning.
Default parameter value (for in case the shadows-to function has less parameters).
Generics and defining elements of containers and arrays.
Free data after the code is done.
Don't free data after the code is done.