Halten Sie die letzten N -Bits
unsigned mask;
mask = (1 << n) - 1;
unsigned lastNbits = value & mask;
CertainBadProgrammer
unsigned mask;
mask = (1 << n) - 1;
unsigned lastNbits = value & mask;