May I know what are bits fields & the 5 bits of hole for?
struct Record
{
unsigned int n1 : 3; // 3 bits, can store 0 - 7
int : 5; // 5 bits of hole
unsigned int n2 : 4; // 4 bits, can store 0 - 15
//etc
};
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 etc
* * * H H H H H * * * * //etc