Bits and Bytes
1. Bit representation in ordinal data types Every bit has corresponding value in a ordinal data type BIT_0 -> 1 BIT_1 -> 2 BIT_2 -> 4 BIT_3 -> 8 BIT_4 -> 16 BIT_5 -> 32 BIT_6 -> 64 BIT_7 -> 128 BIT_n -> 2^n 2. How to check if a bit is set bitN = … Read more