+ 1

Can sum of two numbers logic be done without using + operator??

please help me with this program to calculate the sum of 2 numbers without using + operator

1st Jul 2017, 8:32 AM
Gouri Lakshmi
Gouri Lakshmi - avatar
4 Réponses
1st Jul 2017, 8:52 AM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 1
please help me with the coding for cpp and Java for the logic of sum of two numbers without using + operator
1st Jul 2017, 8:36 AM
Gouri Lakshmi
Gouri Lakshmi - avatar
0
Sorry, got confused with the tag. You'll need to use bitwise operators. ( ^ ) ex: 1 ^ 3 # output: 2
1st Jul 2017, 8:44 AM
Sapphire
0
no
1st Jul 2017, 9:23 AM
utsav parmar
utsav parmar - avatar