13.09.2016, 11:51
Sizeof is used when arrays are involved. Plain constants in other cases (e.g. a MAX_PLAYER loop). I don't know how to explain this any better. It is generally more favorable to use the sizeof operator whenever arrays are involved since then the size will always be correct.