How to find sum of 2 positive integers without using any operator? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 3

How to find sum of 2 positive integers without using any operator?

Only printf() function is allowed.no other library function can be used?

4th Sep 2016, 5:43 AM
ASHUTOSH MOHAPATRA
ASHUTOSH MOHAPATRA - avatar
3 Réponses
0
oh
9th Sep 2016, 2:32 PM
zqhuahao
0
???
12th Sep 2016, 7:32 PM
Nitesh Yadav
Nitesh Yadav - avatar
0
I think you can do it by bit level operation :)
17th Sep 2016, 2:12 AM
Mosiur Rahman
Mosiur Rahman - avatar