Well, the pointers are local variables and thus on the stack, but I admit it's probably not (fully) what the problem intended, which is to take advantage of implicit information on the stack (the return address).
↧