A quick look into the concept of converting Binary number to Hexadecimal form.
Here, we take 4 bits at a time from the right side of the binary number and convert it to decimal. Then we write the Hexadecimal form of the decimal number. With practice, you would be able to directly convert 4 bits to Hexadecimal form and you could skip the conversion to decimal.
See Bit Manipulation Interview Preparation Series here:
• Bit Manipulation Interview Series
You could follow us on Facebook and Instagram:
Facebook : / firmwarecode
Instagram : / firmwarecode
#BitManipulation #BitAlgorithms