- 자료형별 메모리 크기

 -> 포인터의 메모리크기 8Bytes (32bit에서는 4Bytes)

 -> 구조체의 경우 가장 메모리크기가 큰 자료형 기준으로 공간차지함(padding)

     : struct node{ int x; char b; } -> 4*2=8bytes

+ Recent posts