Provided, I want to pass a modifiable parameter to a function, what should I choose: to pass it by pointer or to pass it by reference?
Pass by reference, and avoid the whole NULL pointer problem.