The author of redirect wanted the call to leave the caller’s…
The author of redirect wanted the call to leave the caller’s p pointing at m. Explain why it does not, even though it does change n. Then give two different parameter types for ptr that would make redirect re-point the caller’s p, and for each, write the call and the last line of the function body.
Read Details