Sunday, 24 June 2018

How to add two numbers without using the plus operator?


SUM   = A XOR B
CARRY = A AND B




3+3 = 6
SUM = 0
CARRY<<1 110="" 6="" nbsp="" p="">




No comments:

Post a Comment