In this video, we have a very tricky question commonly asked in embedded / firmware interviews, that will test our understanding of 2's complement and 1's complement concepts and we will implement the solution in C/C++. Here we want to add one to a given number without using the plus operator, and we will be using bit manipulation concepts to find the solution.
The 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