In this video, we look at how we can find the remainder of a given number when divided by 4 using Bit Manipulations and implement it in C/C++. This is a refresher of basic bit manipulations, but it's a tricky math concept very commonly asked in Embedded / Firmware / Software Interviews.
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