%p 서식 문자열은 "포인터 변수"의 주소만 출력하는 용도였음.


int * ptr 의 주소를 출력하려면


printf("%p", &ptr);


이게 아니라


printf("%p", ptr);


이거였음