강의

멘토링

커뮤니티

Inflearn Community Q&A

ye0ngstory's profile image
ye0ngstory

asked

Following and Learning C++ with Hong Jeong-mo

2.4 Void

질문있습니다!

Written on

·

429

1

혹시 여기서 sizeof()함수를 이용해 크기를 출력했을 때 왜 8바이트로 로 나오는지 알 수 있을까요??

C++

Answer 1

6

IDE마다 달라질 수 있겠으나, 보통 주소의 크기는 32bit 환경에서 4byte, 64bit 환경에서 8byte입니다. 64bit로 실행하신게 아닐까 추측해봅니다 :)

ye0ngstory's profile image
ye0ngstory

asked

Ask a question