struct s1 {
char ch1;
char ch2;
int num;
};
선언하구
printf("%d", sizeof( struct s1 )); 하믄 ==> 8 이 나옴다.
근데,,
struct s2{
char ch1;
int num;
char ch2;
};
하구
printf("%d", sizeof( struct s2 )); 하믄 ==> 12 가 나옴다..
어찌 이런 결과과 나오는지 혹 고수님의 조언 부탁드림뎌...
늦었지만,,,, 복 많이 받으세여~~~~