+ 11

Program to add two numbers without using arithmetic operator

try this..

22nd Mar 2018, 10:34 AM
Monaliza
Monaliza - avatar
5 Answers
+ 8
level up your best..
22nd Mar 2018, 2:31 PM
Monaliza
Monaliza - avatar
22nd Mar 2018, 3:24 PM
Raj Chhatrala
Raj Chhatrala - avatar
+ 4
use bit shift operator. I will try to make the code.
22nd Mar 2018, 2:30 PM
Raj Chhatrala
Raj Chhatrala - avatar
+ 3
here it is.
22nd Mar 2018, 3:25 PM
Raj Chhatrala
Raj Chhatrala - avatar
+ 1
If you wanted to do something weirdly complex you could kind of simulate an adder by using logic operations like AND and OR
24th Jul 2018, 6:25 PM
MeatPowers
MeatPowers - avatar