크기의 내부 메커니즘(단위: C? 저는 C에서 구조물의 크기를 얻기 위해 size를 사용하지만, 제가 받은 결과는 예상치 못한 것입니다. struct sdshdr { int len; int free; char buf[]; }; int main(){ printf("struct len:%d\n",(sizeof(struct sdshdr))); return 0; } //struct len:8, with or without buf 제 질문은 왜 그러냐는 것입니다.buf어떤 공간도 차지하지 않고 왜 크기가int64비트 CPU에 still 4를 입력하시겠습니까? 다음은 에서 나온 출력입니다.gcc -v: Configured with: --prefix=/Applications/Xcode.app/Contents/Deve..