
In this article, we have explained how to add any two positive numbers using the bitwise operators like and, xor, and left shift operators rather than using the normal addition operator (+).
Table of topics:
Basics of Bitwise Operations
Adding two numbers using bitwise operatorsBitwise add using RecursionTime and Space Complexity of bitwise addBasics of Bitwise Operations
We know that computer stores all kinds of data (videos, files, photos, etc.) in the form of binary numbers 0s and 1s. T...
Published on August 03, 2021 20:53