안녕하세요. 이번에는 구조체 자료형의 크기에 대해 알아보겠습니다.기본적으로 자료형의 크기를 알아보는 함수는 sizeof(자료형)입니다. 123456typedef struct{ int HP; int MP; char class;}user;cs int는 4바이트, char은 1바이트그러므로 user구조체의 크기는 9바이트라고 예상이 됩니다. 12345678910111213141516171819#include typedef struct{ int HP; int MP; char class;}user; int main(){ user user1; printf("user1.HP의 크기 : %d \n", sizeof(user1.HP)); printf("user1.MP의 크기 : %d \n", sizeof(user1.MP)..