+ 1

Add two numbers

Add 2 numbers without using '+' operator.

18th Dec 2016, 7:45 AM
Ashish Pandey
Ashish Pandey - avatar
5 Answers
+ 1
c = sum(a, b)
18th Dec 2016, 8:02 AM
Rishi Anand
Rishi Anand - avatar
0
a|b
18th Dec 2016, 7:52 AM
Vijeth Belle
Vijeth Belle - avatar
0
need to know that in java or c++, solution doesn't work there
18th Dec 2016, 7:57 AM
Ashish Pandey
Ashish Pandey - avatar
0
(-A-B) *-1
18th Dec 2016, 8:12 AM
Doni
Doni - avatar
21st Apr 2022, 12:12 PM
AARAV PANDEY
AARAV PANDEY - avatar