https://ideone.com/ub97A1
すいません↑の29行目のコードって何してるんですか?
int size = sizeof student / sizeof *student;
sizeofで studentと*studentが3に化けて 3,3で割り算して1じゃないんですか
意味がよく分かりません;