APawn* MyPawn does not get a new memory address, because when the function is called, a Pawn already exists, because you need something to be that parameter. The thing about pointers is that one object exists in the memory, and the pointers just show where it is, point to its location, hence the name – pointer.
1 Like