Are there differences between pointers to object stored on stack and heap? [closed]
A pointer is a pointer. No matter where it points to. I mean: you can assign to the same pointer both the address of a region on the stack and on the heap, don’t you? So there cannot be any intrinsic difference between a pointer pointing here or there.