In this video, we look into the properties of numbers which are the power of Two and we implement the concept in C/C++. We will learn the method to find out whether a number is a power of two.
This is a common Embedded / Firmware Interview question.
Episode on Unsetting the rightmost SET bit: • How to Unset the Rightmost 1 in a num...
Episode on 2's complement and subtraction: • Negative number representation, Two's...
See Bit Manipulation Interview Preparation Series here:
• Bit Manipulation Interview Series
You could follow us on Facebook and Instagram:
Facebook : / firmwarecode
Instagram : / firmwarecode
#bitmanipulation #bitalgorithm